Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002695/0.002695, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|fieldWeakeningController.vs|fieldWeakeningController.is|fieldWeakeningController.id|fieldWeakeningController.iq",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|fieldWeakeningController.vs|fieldWeakeningController.is|fieldWeakeningController.id|fieldWeakeningController.iq",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.647e-05, allocations: 4.703 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.1351/0.1352, allocations: 21.3 MB / 293.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1491, allocations: 7.588 MB / 301.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004201/0.1533, allocations: 194.2 kB / 301.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.1652, allocations: 5.61 MB / 307 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007263/0.1725, allocations: 2.655 MB / 309.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.1766, allocations: 1.789 MB / 311.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007358/0.184, allocations: 8.181 MB / 319.7 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01356/0.1975, allocations: 9.411 MB / 329.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.2089, allocations: 5.963 MB / 335 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007408/0.2163, allocations: 3.925 MB / 339 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002259/0.2185, allocations: 1.105 MB / 340.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.2223, allocations: 1.456 MB / 341.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.2246, allocations: 2.283 MB / 343.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005984/0.2306, allocations: 2.9 MB / 346.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/0.2514, allocations: 15.29 MB / 362 MB, free: 8.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2514, allocations: 0 / 362 MB, free: 8.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2514, allocations: 0 / 362 MB, free: 8.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003548/0.2518, allocations: 0 / 362 MB, free: 8.418 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1903 * Number of variables: 1903 Notification: Performance of Generate backend data structure: time 0.02637/0.2781, allocations: 9.215 MB / 371.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2782, allocations: 8.031 kB / 371.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03053/0.3087, allocations: 6.477 MB / 377.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/0.3206, allocations: 4.972 MB / 382.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000748/0.3213, allocations: 0.5019 MB / 383.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003547/0.3249, allocations: 0.6679 MB / 383.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/0.3531, allocations: 11.39 MB / 395.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/0.3533, allocations: 11.89 kB / 395.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.3544, allocations: 284 kB / 395.5 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005339/0.355, allocations: 430.4 kB / 395.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/0.379, allocations: 10.7 MB / 406.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1803/0.5594, allocations: 31.79 MB / 438.4 MB, free: 99.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008913/0.5683, allocations: 5.569 MB / 444 MB, free: 99.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/0.5719, allocations: 2.593 MB / 446.6 MB, free: 99.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.5722, allocations: 117.9 kB / 446.7 MB, free: 99.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.5723, allocations: 73.78 kB / 446.8 MB, free: 99.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=365): time 6.102e-06/0.5723, allocations: 0 / 446.8 MB, free: 99.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=375): time 0.03202/0.6043, allocations: 15.79 MB / 462.6 MB, free: 95.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.6044, allocations: 153.2 kB / 462.7 MB, free: 94.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/0.6075, allocations: 2.678 MB / 465.4 MB, free: 93.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.6078, allocations: 84.58 kB / 465.5 MB, free: 93.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.609, allocations: 2.97 MB / 468.4 MB, free: 92.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007151/0.6097, allocations: 1.316 MB / 469.8 MB, free: 91.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.6108, allocations: 0.9026 MB / 470.7 MB, free: 90.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.6108, allocations: 301.1 kB / 471 MB, free: 90.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.6137, allocations: 2.32 MB / 473.3 MB, free: 89.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.6172, allocations: 3.996 MB / 477.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.6239, allocations: 6.721 MB / 484 MB, free: 80.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.6239, allocations: 12 kB / 484 MB, free: 80.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.009516/0.6335, allocations: 7.297 MB / 491.3 MB, free: 72.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.6335, allocations: 24 kB / 491.3 MB, free: 72.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-05/0.6335, allocations: 52 kB / 491.4 MB, free: 72.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/0.6367, allocations: 1.213 MB / 492.6 MB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.6402, allocations: 1.072 MB / 493.7 MB, free: 70.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.6429, allocations: 2.381 MB / 496 MB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.6458, allocations: 283.6 kB / 496.3 MB, free: 67.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/0.6461, allocations: 232 kB / 496.6 MB, free: 67.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00548/0.6516, allocations: 4.519 MB / 0.4893 GB, free: 62.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003339/0.655, allocations: 3.979 MB / 0.4932 GB, free: 58.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006746/0.6617, allocations: 6.691 MB / 0.4997 GB, free: 50.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.073e-05/0.6617, allocations: 20 kB / 0.4998 GB, free: 50.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.009442/0.6712, allocations: 7.25 MB / 0.5068 GB, free: 43.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.6712, allocations: 24 kB / 0.5069 GB, free: 43.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/0.6713, allocations: 52.72 kB / 0.5069 GB, free: 43.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.6744, allocations: 1.177 MB / 0.5081 GB, free: 42.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/0.6778, allocations: 1.072 MB / 0.5091 GB, free: 41.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.6802, allocations: 2.295 MB / 0.5114 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.683, allocations: 271.7 kB / 0.5116 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.6833, allocations: 231.8 kB / 0.5118 GB, free: 38.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 1 (fieldWeakeningController.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,55)} Notification: Performance of prepare postOptimizeDAE: time 0.000911/0.6842, allocations: 498.5 kB / 0.5123 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007937/0.685, allocations: 469.8 kB / 0.5128 GB, free: 37.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008379/0.6934, allocations: 5.799 MB / 0.5184 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6934, allocations: 43.61 kB / 0.5185 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6934, allocations: 0 / 0.5185 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.6935, allocations: 19.92 kB / 0.5185 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.7097, allocations: 11.12 MB / 0.5293 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.7097, allocations: 0 / 0.5293 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/0.7122, allocations: 0.6787 MB / 0.53 GB, free: 19.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.7151, allocations: 0.9649 MB / 0.5309 GB, free: 18.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.7153, allocations: 83.97 kB / 0.531 GB, free: 18.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.7176, allocations: 2.061 MB / 0.533 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7176, allocations: 3.938 kB / 0.533 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.7282, allocations: 8.593 MB / 0.5414 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.7299, allocations: 0.7903 MB / 0.5422 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/0.7303, allocations: 64 kB / 0.5423 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/0.7321, allocations: 211.8 kB / 0.5425 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/0.7325, allocations: 242.6 kB / 0.5427 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/0.7328, allocations: 116.2 kB / 0.5428 GB, free: 6.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.7348, allocations: 1.726 MB / 0.5445 GB, free: 4.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7348, allocations: 0 / 0.5445 GB, free: 4.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005683/0.7405, allocations: 2.086 MB / 0.5465 GB, free: 2.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (speedSource.phi,fieldWeakeningController.PID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005028/0.741, allocations: 239.4 kB / 0.5468 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01855/0.7595, allocations: 8.711 MB / 0.5553 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.7595, allocations: 0 / 0.5553 GB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005973/0.7655, allocations: 2.418 MB / 0.5576 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005107/0.7706, allocations: 0.7712 MB / 0.5584 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.7984, allocations: 12.61 MB / 0.5707 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006466/0.8049, allocations: 3.965 MB / 0.5746 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006476/0.8114, allocations: 2.27 MB / 0.5768 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.8124, allocations: 296.4 kB / 0.5771 GB, free: 3.383 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8124, allocations: 0 / 0.5771 GB, free: 3.383 MB / 410.7 MB Notification: Performance of Templates: time 0.1849/0.9973, allocations: 51.28 MB / 0.6272 GB, free: 105.2 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_FieldWeakening/SMPM_FieldWeakening.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,fieldWeakeningController.vs,fieldWeakeningController.is,fieldWeakeningController.id,fieldWeakeningController.iq Variables in the result:INominal,VNominal,dqToThreePhase.add.k1,dqToThreePhase.add.k2,dqToThreePhase.const.k,dqToThreePhase.gamma0,dqToThreePhase.m,dqToThreePhase.p,dqToThreePhase.singleToMultiPhase.m,dqToThreePhase.singleToMultiPhase.nout,dqToThreePhase.singleToMultiPhase.useConjugateInput,dqToThreePhase.toGamma.k,fieldWeakeningController.IMax,fieldWeakeningController.PID.Dzero.k,fieldWeakeningController.PID.FFzero.k,fieldWeakeningController.PID.I.initType,fieldWeakeningController.PID.I.k,fieldWeakeningController.PID.I.y_start,fieldWeakeningController.PID.Nd,fieldWeakeningController.PID.Ni,fieldWeakeningController.PID.P.k,fieldWeakeningController.PID.Td,fieldWeakeningController.PID.Ti,fieldWeakeningController.PID.addFF.k1,fieldWeakeningController.PID.addFF.k2,fieldWeakeningController.PID.addI.k1,fieldWeakeningController.PID.addI.k2,fieldWeakeningController.PID.addI.k3,fieldWeakeningController.PID.addP.k1,fieldWeakeningController.PID.addP.k2,fieldWeakeningController.PID.addPID.k1,fieldWeakeningController.PID.addPID.k2,fieldWeakeningController.PID.addPID.k3,fieldWeakeningController.PID.addSat.k1,fieldWeakeningController.PID.addSat.k2,fieldWeakeningController.PID.controllerType,fieldWeakeningController.PID.gainPID.k,fieldWeakeningController.PID.gainTrack.k,fieldWeakeningController.PID.homotopyType,fieldWeakeningController.PID.initType,fieldWeakeningController.PID.k,fieldWeakeningController.PID.kFF,fieldWeakeningController.PID.limiter.homotopyType,fieldWeakeningController.PID.limiter.strict,fieldWeakeningController.PID.limiter.uMax,fieldWeakeningController.PID.limiter.uMin,fieldWeakeningController.PID.strict,fieldWeakeningController.PID.wd,fieldWeakeningController.PID.withFeedForward,fieldWeakeningController.PID.with_D,fieldWeakeningController.PID.with_I,fieldWeakeningController.PID.wp,fieldWeakeningController.PID.xd_start,fieldWeakeningController.PID.xi_start,fieldWeakeningController.PID.yMax,fieldWeakeningController.PID.yMin,fieldWeakeningController.PID.y_start,fieldWeakeningController.Ti,fieldWeakeningController.VNominal,fieldWeakeningController.id,fieldWeakeningController.iq,fieldWeakeningController.is,fieldWeakeningController.kp,fieldWeakeningController.spacePhasorLimiter.yMax,fieldWeakeningController.vRef.k,fieldWeakeningController.vs,gainCurrent.k,gainSpeed.k,iqRef.duration,iqRef.height,iqRef.offset,iqRef.startTime,referenceCurrentSource.i[1].im,referenceCurrentSource.i[1].re,referenceCurrentSource.m,referenceCurrentSource.plug_n.m,referenceCurrentSource.plug_p.m,resistorS.R_ref[1],resistorS.R_ref[2],resistorS.R_ref[3],resistorS.T[1],resistorS.T[2],resistorS.T[3],resistorS.T_ref[1],resistorS.T_ref[2],resistorS.T_ref[3],resistorS.alpha_ref[1],resistorS.alpha_ref[2],resistorS.alpha_ref[3],resistorS.m,resistorS.mh,resistorS.plugToPins_n.m,resistorS.plugToPins_n.plugToPin_n[1].k,resistorS.plugToPins_n.plugToPin_n[1].m,resistorS.plugToPins_n.plugToPin_n[1].plug_n.m,resistorS.plugToPins_n.plugToPin_n[2].k,resistorS.plugToPins_n.plugToPin_n[2].m,resistorS.plugToPins_n.plugToPin_n[2].plug_n.m,resistorS.plugToPins_n.plugToPin_n[3].k,resistorS.plugToPins_n.plugToPin_n[3].m,resistorS.plugToPins_n.plugToPin_n[3].plug_n.m,resistorS.plugToPins_n.plug_n.m,resistorS.plugToPins_p.m,resistorS.plugToPins_p.plugToPin_p[1].k,resistorS.plugToPins_p.plugToPin_p[1].m,resistorS.plugToPins_p.plugToPin_p[1].plug_p.m,resistorS.plugToPins_p.plugToPin_p[2].k,resistorS.plugToPins_p.plugToPin_p[2].m,resistorS.plugToPins_p.plugToPin_p[2].plug_p.m,resistorS.plugToPins_p.plugToPin_p[3].k,resistorS.plugToPins_p.plugToPin_p[3].m,resistorS.plugToPins_p.plugToPin_p[3].plug_p.m,resistorS.plugToPins_p.plug_p.m,resistorS.plug_n.m,resistorS.plug_p.m,resistorS.resistor[1].R_ref,resistorS.resistor[1].T,resistorS.resistor[1].T_ref,resistorS.resistor[1].alpha_ref,resistorS.resistor[2].R_ref,resistorS.resistor[2].T,resistorS.resistor[2].T_ref,resistorS.resistor[2].alpha_ref,resistorS.resistor[3].R_ref,resistorS.resistor[3].T,resistorS.resistor[3].T_ref,resistorS.resistor[3].alpha_ref,smpm.Jr,smpm.Js,smpm.L0.d,smpm.L0.q,smpm.Lmd,smpm.Lmq,smpm.Lrsigmad,smpm.Lrsigmaq,smpm.Lssigma,smpm.Rrd,smpm.Rrq,smpm.Rs,smpm.TpmOperational,smpm.TrOperational,smpm.TrRef,smpm.TsOperational,smpm.TsRef,smpm.V_mPM,smpm.VsOpenCircuit,smpm.ZsRef,smpm.airGap.L0.d,smpm.airGap.L0.q,smpm.airGap.R_m.d,smpm.airGap.R_m.q,smpm.airGap.p,smpm.alpha20r,smpm.alpha20s,smpm.effectiveStatorTurns,smpm.fixed.phi0,smpm.friction.frictionParameters.PRef,smpm.friction.frictionParameters.linear,smpm.friction.frictionParameters.power_w,smpm.friction.frictionParameters.tauLinear,smpm.friction.frictionParameters.tauRef,smpm.friction.frictionParameters.wLinear,smpm.friction.frictionParameters.wRef,smpm.frictionParameters.PRef,smpm.frictionParameters.linear,smpm.frictionParameters.power_w,smpm.frictionParameters.tauLinear,smpm.frictionParameters.tauRef,smpm.frictionParameters.wLinear,smpm.frictionParameters.wRef,smpm.fsNominal,smpm.inertiaRotor.J,smpm.inertiaStator.J,smpm.internalThermalPort.m,smpm.internalThermalPort.useDamperCage,smpm.m,smpm.p,smpm.permanentMagnet.V_m.im,smpm.permanentMagnet.V_m.re,smpm.permanentMagnet.m,smpm.permanentMagnet.permanentMagnetLossParameters.IRef,smpm.permanentMagnet.permanentMagnetLossParameters.PRef,smpm.permanentMagnet.permanentMagnetLossParameters.c,smpm.permanentMagnet.permanentMagnetLossParameters.power_I,smpm.permanentMagnet.permanentMagnetLossParameters.power_w,smpm.permanentMagnet.permanentMagnetLossParameters.tauRef,smpm.permanentMagnet.permanentMagnetLossParameters.wRef,smpm.permanentMagnetLossParameters.IRef,smpm.permanentMagnetLossParameters.PRef,smpm.permanentMagnetLossParameters.c,smpm.permanentMagnetLossParameters.power_I,smpm.permanentMagnetLossParameters.power_w,smpm.permanentMagnetLossParameters.tauRef,smpm.permanentMagnetLossParameters.wRef,smpm.plug_sn.m,smpm.plug_sp.m,smpm.stator.GcRef,smpm.stator.Lsigma,smpm.stator.RRef,smpm.stator.TOperational,smpm.stator.TRef,smpm.stator.alpha20,smpm.stator.alphaRef,smpm.stator.core.G,smpm.stator.core.T,smpm.stator.effectiveTurns,smpm.stator.electroMagneticConverter.N.im,smpm.stator.electroMagneticConverter.N.re,smpm.stator.electroMagneticConverter.effectiveTurns,smpm.stator.electroMagneticConverter.indexNonPos[1],smpm.stator.electroMagneticConverter.indexNonPos[2],smpm.stator.electroMagneticConverter.indexPos[1],smpm.stator.electroMagneticConverter.m,smpm.stator.electroMagneticConverter.plug_n.m,smpm.stator.electroMagneticConverter.plug_p.m,smpm.stator.electroMagneticConverter.sTM[1,1].im,smpm.stator.electroMagneticConverter.sTM[1,1].re,smpm.stator.electroMagneticConverter.sTM[1,2].im,smpm.stator.electroMagneticConverter.sTM[1,2].re,smpm.stator.electroMagneticConverter.sTM[1,3].im,smpm.stator.electroMagneticConverter.sTM[1,3].re,smpm.stator.electroMagneticConverter.sTM[2,1].im,smpm.stator.electroMagneticConverter.sTM[2,1].re,smpm.stator.electroMagneticConverter.sTM[2,2].im,smpm.stator.electroMagneticConverter.sTM[2,2].re,smpm.stator.electroMagneticConverter.sTM[2,3].im,smpm.stator.electroMagneticConverter.sTM[2,3].re,smpm.stator.electroMagneticConverter.sTM[3,1].im,smpm.stator.electroMagneticConverter.sTM[3,1].re,smpm.stator.electroMagneticConverter.sTM[3,2].im,smpm.stator.electroMagneticConverter.sTM[3,2].re,smpm.stator.electroMagneticConverter.sTM[3,3].im,smpm.stator.electroMagneticConverter.sTM[3,3].re,smpm.stator.m,smpm.stator.plug_n.m,smpm.stator.plug_p.m,smpm.stator.resistor.R_ref[1],smpm.stator.resistor.R_ref[2],smpm.stator.resistor.R_ref[3],smpm.stator.resistor.T[1],smpm.stator.resistor.T[2],smpm.stator.resistor.T[3],smpm.stator.resistor.T_ref[1],smpm.stator.resistor.T_ref[2],smpm.stator.resistor.T_ref[3],smpm.stator.resistor.alpha_ref[1],smpm.stator.resistor.alpha_ref[2],smpm.stator.resistor.alpha_ref[3],smpm.stator.resistor.m,smpm.stator.resistor.mh,smpm.stator.resistor.plugToPins_n.m,smpm.stator.resistor.plugToPins_n.plugToPin_n[1].k,smpm.stator.resistor.plugToPins_n.plugToPin_n[1].m,smpm.stator.resistor.plugToPins_n.plugToPin_n[1].plug_n.m,smpm.stator.resistor.plugToPins_n.plugToPin_n[2].k,smpm.stator.resistor.plugToPins_n.plugToPin_n[2].m,smpm.stator.resistor.plugToPins_n.plugToPin_n[2].plug_n.m,smpm.stator.resistor.plugToPins_n.plugToPin_n[3].k,smpm.stator.resistor.plugToPins_n.plugToPin_n[3].m,smpm.stator.resistor.plugToPins_n.plugToPin_n[3].plug_n.m,smpm.stator.resistor.plugToPins_n.plug_n.m,smpm.stator.resistor.plugToPins_p.m,smpm.stator.resistor.plugToPins_p.plugToPin_p[1].k,smpm.stator.resistor.plugToPins_p.plugToPin_p[1].m,smpm.stator.resistor.plugToPins_p.plugToPin_p[1].plug_p.m,smpm.stator.resistor.plugToPins_p.plugToPin_p[2].k,smpm.stator.resistor.plugToPins_p.plugToPin_p[2].m,smpm.stator.resistor.plugToPins_p.plugToPin_p[2].plug_p.m,smpm.stator.resistor.plugToPins_p.plugToPin_p[3].k,smpm.stator.resistor.plugToPins_p.plugToPin_p[3].m,smpm.stator.resistor.plugToPins_p.plugToPin_p[3].plug_p.m,smpm.stator.resistor.plugToPins_p.plug_p.m,smpm.stator.resistor.plug_n.m,smpm.stator.resistor.plug_p.m,smpm.stator.resistor.resistor[1].R_ref,smpm.stator.resistor.resistor[1].T,smpm.stator.resistor.resistor[1].T_ref,smpm.stator.resistor.resistor[1].alpha_ref,smpm.stator.resistor.resistor[2].R_ref,smpm.stator.resistor.resistor[2].T,smpm.stator.resistor.resistor[2].T_ref,smpm.stator.resistor.resistor[2].alpha_ref,smpm.stator.resistor.resistor[3].R_ref,smpm.stator.resistor.resistor[3].T,smpm.stator.resistor.resistor[3].T_ref,smpm.stator.resistor.resistor[3].alpha_ref,smpm.stator.stray.G_m.d,smpm.stator.stray.G_m.q,smpm.stator.useHeatPort,smpm.statorCoreParameters.GcRef,smpm.statorCoreParameters.PRef,smpm.statorCoreParameters.VRef,smpm.statorCoreParameters.m,smpm.statorCoreParameters.ratioHysteresis,smpm.statorCoreParameters.wMin,smpm.statorCoreParameters.wRef,smpm.strayLoad.m,smpm.strayLoad.plug_n.m,smpm.strayLoad.plug_p.m,smpm.strayLoad.strayLoadParameters.IRef,smpm.strayLoad.strayLoadParameters.PRef,smpm.strayLoad.strayLoadParameters.power_w,smpm.strayLoad.strayLoadParameters.tauRef,smpm.strayLoad.strayLoadParameters.wRef,smpm.strayLoadParameters.IRef,smpm.strayLoadParameters.PRef,smpm.strayLoadParameters.power_w,smpm.strayLoadParameters.tauRef,smpm.strayLoadParameters.wRef,smpm.thermalAmbient.Tpm,smpm.thermalAmbient.Tr,smpm.thermalAmbient.Ts,smpm.thermalAmbient.constTpm.k,smpm.thermalAmbient.constTr.k,smpm.thermalAmbient.constTs.k,smpm.thermalAmbient.m,smpm.thermalAmbient.temperatureFriction.T,smpm.thermalAmbient.temperatureRotorCore.T,smpm.thermalAmbient.temperatureStatorCore.T,smpm.thermalAmbient.temperatureStrayLoad.T,smpm.thermalAmbient.thermalCollectorStator.m,smpm.thermalAmbient.thermalPort.m,smpm.thermalAmbient.thermalPort.useDamperCage,smpm.thermalAmbient.useDamperCage,smpm.thermalAmbient.useTemperatureInputs,smpm.useDamperCage,smpm.useSupport,smpm.useThermalPort,smpmData.Jr,smpmData.Js,smpmData.Lmd,smpmData.Lmq,smpmData.Lrsigmad,smpmData.Lrsigmaq,smpmData.Lssigma,smpmData.Lszero,smpmData.Rrd,smpmData.Rrq,smpmData.Rs,smpmData.TrRef,smpmData.TsRef,smpmData.VsOpenCircuit,smpmData.alpha20r,smpmData.alpha20s,smpmData.effectiveStatorTurns,smpmData.frictionParameters.PRef,smpmData.frictionParameters.linear,smpmData.frictionParameters.power_w,smpmData.frictionParameters.tauLinear,smpmData.frictionParameters.tauRef,smpmData.frictionParameters.wLinear,smpmData.frictionParameters.wRef,smpmData.fsNominal,smpmData.m,smpmData.p,smpmData.permanentMagnetLossParameters.IRef,smpmData.permanentMagnetLossParameters.PRef,smpmData.permanentMagnetLossParameters.c,smpmData.permanentMagnetLossParameters.power_I,smpmData.permanentMagnetLossParameters.power_w,smpmData.permanentMagnetLossParameters.tauRef,smpmData.permanentMagnetLossParameters.wRef,smpmData.ratioCommonStatorLeakage,smpmData.statorCoreParameters.GcRef,smpmData.statorCoreParameters.PRef,smpmData.statorCoreParameters.VRef,smpmData.statorCoreParameters.m,smpmData.statorCoreParameters.ratioHysteresis,smpmData.statorCoreParameters.wMin,smpmData.statorCoreParameters.wRef,smpmData.strayLoadParameters.IRef,smpmData.strayLoadParameters.PRef,smpmData.strayLoadParameters.power_w,smpmData.strayLoadParameters.tauRef,smpmData.strayLoadParameters.wRef,smpmData.useDamperCage,speed.duration,speed.height,speed.offset,speed.startTime,speedSource.exact,speedSource.f_crit,speedSource.w_crit,starS.m,starS.plugToPins_p.m,starS.plugToPins_p.plugToPin_p[1].k,starS.plugToPins_p.plugToPin_p[1].m,starS.plugToPins_p.plugToPin_p[1].plug_p.m,starS.plugToPins_p.plugToPin_p[2].k,starS.plugToPins_p.plugToPin_p[2].m,starS.plugToPins_p.plugToPin_p[2].plug_p.m,starS.plugToPins_p.plugToPin_p[3].k,starS.plugToPins_p.plugToPin_p[3].m,starS.plugToPins_p.plugToPin_p[3].plug_p.m,starS.plugToPins_p.plug_p.m,starS.plug_p.m,terminalBox.m,terminalBox.plugSupply.m,terminalBox.plug_sn.m,terminalBox.plug_sp.m,terminalBox.star.m,terminalBox.star.plugToPins_p.m,terminalBox.star.plugToPins_p.plugToPin_p[1].k,terminalBox.star.plugToPins_p.plugToPin_p[1].m,terminalBox.star.plugToPins_p.plugToPin_p[1].plug_p.m,terminalBox.star.plugToPins_p.plugToPin_p[2].k,terminalBox.star.plugToPins_p.plugToPin_p[2].m,terminalBox.star.plugToPins_p.plugToPin_p[2].plug_p.m,terminalBox.star.plugToPins_p.plugToPin_p[3].k,terminalBox.star.plugToPins_p.plugToPin_p[3].m,terminalBox.star.plugToPins_p.plugToPin_p[3].plug_p.m,terminalBox.star.plugToPins_p.plug_p.m,terminalBox.star.plug_p.m,time,voltageQuasiRMSSensorQS.V,voltageQuasiRMSSensorQS.m,voltageQuasiRMSSensorQS.plugToPins_n.m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[1].k,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[1].m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[1].plug_n.m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[2].k,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[2].m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[2].plug_n.m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[3].k,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[3].m,voltageQuasiRMSSensorQS.plugToPins_n.plugToPin_n[3].plug_n.m,voltageQuasiRMSSensorQS.plugToPins_n.plug_n.m,voltageQuasiRMSSensorQS.plugToPins_p.m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[1].k,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[1].m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[1].plug_p.m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[2].k,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[2].m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[2].plug_p.m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[3].k,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[3].m,voltageQuasiRMSSensorQS.plugToPins_p.plugToPin_p[3].plug_p.m,voltageQuasiRMSSensorQS.plugToPins_p.plug_p.m,voltageQuasiRMSSensorQS.plug_n.m,voltageQuasiRMSSensorQS.plug_p.m,voltageQuasiRMSSensorQS.quasiRMS.m,wNominal [Calling sys.exit(0), Time elapsed: 8.6268604620127]