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.001631/0.001631, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002049/0.002049, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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 0.001497/0.001497, allocations: 47.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.02634/0.2585, allocations: 21.29 MB / 452.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.2739, allocations: 7.552 MB / 460.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004526/0.2785, allocations: 195.1 kB / 460.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01431/0.2928, allocations: 5.338 MB / 466 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.3015, allocations: 2.6 MB / 468.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.307, allocations: 1.79 MB / 470.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0116/0.3187, allocations: 7.921 MB / 478.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.3353, allocations: 9.388 MB / 487.7 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007967/0.3433, allocations: 4.071 MB / 491.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.3543, allocations: 4.375 MB / 496.1 MB, free: 5.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004547/0.3588, allocations: 1.105 MB / 497.2 MB, free: 4.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006564/0.3654, allocations: 1.445 MB / 498.7 MB, free: 3.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005806/0.3712, allocations: 2.236 MB / 0.4892 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009275/0.3805, allocations: 3.377 MB / 0.4925 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02923/0.4097, allocations: 15.17 MB / 0.5073 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4097, allocations: 0 / 0.5073 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4097, allocations: 0 / 0.5073 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003808/0.4101, allocations: 0 / 0.5073 GB, free: 14.48 MB / 430.1 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.04326/0.4534, allocations: 9.265 MB / 0.5163 GB, free: 5.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4534, allocations: 12.03 kB / 0.5163 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05347/0.5069, allocations: 5.287 MB / 0.5215 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.518, allocations: 4.781 MB / 0.5262 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/0.5185, allocations: 0.5019 MB / 0.5267 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.5203, allocations: 0.6718 MB / 0.5273 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2168/0.7371, allocations: 11.38 MB / 0.5384 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.7373, allocations: 21.42 kB / 0.5384 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006895/0.738, allocations: 282 kB / 0.5387 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000443/0.7385, allocations: 428 kB / 0.5391 GB, free: 89.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.7542, allocations: 10.7 MB / 0.5496 GB, free: 86.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03892/0.7931, allocations: 31.02 MB / 0.5799 GB, free: 59.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007726/0.8009, allocations: 5.563 MB / 0.5853 GB, free: 54.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.8042, allocations: 2.585 MB / 0.5878 GB, free: 51.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/0.8046, allocations: 98.78 kB / 0.5879 GB, free: 51.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.8046, allocations: 73.38 kB / 0.588 GB, free: 51.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=365): time 6.112e-06/0.8046, allocations: 0 / 0.588 GB, free: 51.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=375): time 0.0317/0.8363, allocations: 15.66 MB / 0.6033 GB, free: 36.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.8364, allocations: 141.8 kB / 0.6034 GB, free: 36.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.8398, allocations: 2.675 MB / 0.606 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.84, allocations: 85.7 kB / 0.6061 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.8411, allocations: 2.988 MB / 0.609 GB, free: 30.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/0.8419, allocations: 1.33 MB / 0.6103 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.8431, allocations: 0.9065 MB / 0.6112 GB, free: 28.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.173e-05/0.8431, allocations: 309.1 kB / 0.6115 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.846, allocations: 2.318 MB / 0.6138 GB, free: 25.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.8495, allocations: 3.987 MB / 0.6177 GB, free: 21.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006892/0.8564, allocations: 6.722 MB / 0.6242 GB, free: 13.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.886e-05/0.8564, allocations: 12 kB / 0.6242 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01111/0.8675, allocations: 7.071 MB / 0.6311 GB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.8676, allocations: 28 kB / 0.6312 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.843e-05/0.8677, allocations: 56 kB / 0.6312 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003364/0.8711, allocations: 1.212 MB / 0.6324 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/0.875, allocations: 1.072 MB / 0.6335 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.8781, allocations: 2.357 MB / 0.6358 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.8816, allocations: 283.6 kB / 0.636 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007215/0.8823, allocations: 235.9 kB / 0.6363 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007992/0.8903, allocations: 4.518 MB / 0.6407 GB, free: 12.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005771/0.8961, allocations: 3.975 MB / 0.6445 GB, free: 7.934 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01056/0.9067, allocations: 6.703 MB / 0.6511 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.733e-05/0.9067, allocations: 19.94 kB / 0.6511 GB, free: 484 kB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01321/0.9199, allocations: 7.018 MB / 0.658 GB, free: 9.422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.92, allocations: 32.69 kB / 0.658 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/0.9201, allocations: 52 kB / 0.658 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003581/0.9236, allocations: 1.172 MB / 0.6592 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/0.9278, allocations: 1.069 MB / 0.6602 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.9312, allocations: 2.275 MB / 0.6625 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.9344, allocations: 275.7 kB / 0.6627 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005394/0.9349, allocations: 228 kB / 0.6629 GB, free: 4.305 MB / 478.1 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.001129/0.9361, allocations: 498.6 kB / 0.6634 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/0.937, allocations: 349.8 kB / 0.6637 GB, free: 3.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.9485, allocations: 5.799 MB / 0.6694 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.9486, allocations: 40 kB / 0.6694 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.9486, allocations: 3.938 kB / 0.6695 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/0.9486, allocations: 19.92 kB / 0.6695 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/0.9715, allocations: 11.12 MB / 0.6803 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9715, allocations: 0 / 0.6803 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/0.9744, allocations: 0.6749 MB / 0.681 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.9776, allocations: 0.9647 MB / 0.6819 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/0.9779, allocations: 83.97 kB / 0.682 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.981, allocations: 2.033 MB / 0.684 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.981, allocations: 4 kB / 0.684 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.9951, allocations: 8.476 MB / 0.6923 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/0.9975, allocations: 0.7788 MB / 0.693 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006636/0.9982, allocations: 67.98 kB / 0.6931 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1, allocations: 203.8 kB / 0.6933 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/1.001, allocations: 246.5 kB / 0.6935 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.001, allocations: 119.9 kB / 0.6936 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003136/1.004, allocations: 1.73 MB / 0.6953 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 0.6953 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006775/1.011, allocations: 2.078 MB / 0.6974 GB, free: 0.8984 MB / 0.4981 GB 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.0005571/1.011, allocations: 242.4 kB / 0.6976 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01748/1.029, allocations: 8.711 MB / 0.7061 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.029, allocations: 448 / 0.7061 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/1.034, allocations: 2.41 MB / 0.7085 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/1.038, allocations: 0.7317 MB / 0.7092 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/1.061, allocations: 12.52 MB / 0.7214 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005914/1.067, allocations: 3.961 MB / 0.7253 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006741/1.074, allocations: 2.258 MB / 0.7275 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.075, allocations: 299.3 kB / 0.7278 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/1.075, allocations: 0 / 0.7278 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of Templates: time 0.2919/1.367, allocations: 58.4 MB / 0.7848 GB, free: 165.1 MB / 0.545 GB " [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.71630109474063]