Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01041/0.01041, allocations: 101.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 50.2 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02794/0.1409, allocations: 27.08 MB / 400.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.1586, allocations: 7.997 MB / 408.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006766/0.1654, allocations: 163.5 kB / 408.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02144/0.1869, allocations: 9.424 MB / 417.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.2011, allocations: 3.42 MB / 421.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007221/0.2084, allocations: 1.844 MB / 423.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01798/0.2264, allocations: 12.28 MB / 435.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3039/0.5303, allocations: 24.41 MB / 459.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.5422, allocations: 6.549 MB / 466.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01365/0.5559, allocations: 7.266 MB / 473.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005957/0.5619, allocations: 1.849 MB / 475.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008339/0.5702, allocations: 2.221 MB / 477.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006211/0.5765, allocations: 3.669 MB / 481.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01365/0.5901, allocations: 7.008 MB / 488.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02769/0.6178, allocations: 24.76 MB / 0.5011 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6179, allocations: 0 / 0.5011 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6179, allocations: 0 / 0.5011 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000846/0.6188, allocations: 0 / 0.5011 GB, free: 10.17 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05301/0.6718, allocations: 14.67 MB / 0.5154 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6718, allocations: 8.031 kB / 0.5154 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05308/0.7249, allocations: 9.465 MB / 0.5247 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/0.7452, allocations: 6.901 MB / 0.5314 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00106/0.7463, allocations: 0.8205 MB / 0.5322 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00585/0.7522, allocations: 1.072 MB / 0.5333 GB, free: 9.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05798/0.8102, allocations: 18.75 MB / 0.5516 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006267/0.8109, allocations: 19.89 kB / 0.5516 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004849/0.8157, allocations: 453.8 kB / 0.552 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009481/0.8167, allocations: 0.6949 MB / 0.5527 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04584/0.8626, allocations: 18.22 MB / 0.5705 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/0.9878, allocations: 59.35 MB / 0.6285 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5052/1.493, allocations: 46.72 MB / 0.6741 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009055/1.502, allocations: 4.272 MB / 0.6783 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02527/1.527, allocations: 12.36 MB / 0.6903 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.528, allocations: 73.36 kB / 0.6904 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 7.625e-06/1.528, allocations: 0 / 0.6904 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.04444/1.572, allocations: 19.31 MB / 0.7093 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/1.572, allocations: 89.84 kB / 0.7093 GB, free: 116 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006545/1.579, allocations: 4.347 MB / 0.7136 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000957/1.58, allocations: 92.7 kB / 0.7137 GB, free: 114.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/1.583, allocations: 4.821 MB / 0.7184 GB, free: 110.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/1.585, allocations: 1.353 MB / 0.7197 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00195/1.587, allocations: 1.263 MB / 0.7209 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/1.587, allocations: 304.8 kB / 0.7212 GB, free: 108.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004075/1.591, allocations: 3.122 MB / 0.7243 GB, free: 107.6 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/1.596, allocations: 5.733 MB / 0.7299 GB, free: 103 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.607, allocations: 9.452 MB / 0.7391 GB, free: 93.38 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/1.607, allocations: 24 kB / 0.7391 GB, free: 93.35 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02036/1.627, allocations: 10.28 MB / 0.7492 GB, free: 83.04 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/1.628, allocations: 44 kB / 0.7492 GB, free: 83 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.628, allocations: 88 kB / 0.7493 GB, free: 82.91 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003655/1.631, allocations: 1.445 MB / 0.7507 GB, free: 81.47 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/1.637, allocations: 1.462 MB / 0.7521 GB, free: 80 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.653, allocations: 11.45 MB / 0.7633 GB, free: 68.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006584/1.659, allocations: 407.3 kB / 0.7637 GB, free: 68.02 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/1.661, allocations: 328 kB / 0.764 GB, free: 67.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01039/1.672, allocations: 4.173 MB / 0.7681 GB, free: 63.51 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.673, allocations: 446.5 kB / 0.7685 GB, free: 63.07 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.685, allocations: 7.346 MB / 0.7757 GB, free: 55.68 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008387/1.694, allocations: 6.038 MB / 0.7816 GB, free: 49.62 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.694, allocations: 8 kB / 0.7816 GB, free: 49.61 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/1.694, allocations: 27.86 kB / 0.7816 GB, free: 49.59 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.722, allocations: 16.33 MB / 0.7976 GB, free: 33.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.722, allocations: 0 / 0.7976 GB, free: 33.25 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/1.725, allocations: 0.7294 MB / 0.7983 GB, free: 32.52 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/1.728, allocations: 1.297 MB / 0.7995 GB, free: 31.21 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006266/1.729, allocations: 91.92 kB / 0.7996 GB, free: 31.12 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.741, allocations: 10.18 MB / 0.8096 GB, free: 20.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.741, allocations: 0 / 0.8096 GB, free: 20.82 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/1.756, allocations: 10.54 MB / 0.8199 GB, free: 10.22 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/1.759, allocations: 1.046 MB / 0.8209 GB, free: 9.148 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.761, allocations: 68 kB / 0.821 GB, free: 9.082 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/1.764, allocations: 251.8 kB / 0.8212 GB, free: 8.836 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/1.764, allocations: 267.5 kB / 0.8215 GB, free: 8.574 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/1.765, allocations: 116 kB / 0.8216 GB, free: 8.461 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004666/1.769, allocations: 2.908 MB / 0.8244 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.6e-07/1.769, allocations: 2.625 kB / 0.8244 GB, free: 5.543 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008897/1.778, allocations: 1.837 MB / 0.8262 GB, free: 3.711 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.phi) * 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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/1.78, allocations: 268.5 kB / 0.8265 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2461/2.026, allocations: 7.904 MB / 0.8342 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.026, allocations: 1.062 kB / 0.8342 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008899/2.035, allocations: 3.644 MB / 0.8377 GB, free: 165.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007029/2.042, allocations: 1.088 MB / 0.8388 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/2.077, allocations: 18.71 MB / 0.8571 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/2.088, allocations: 7.032 MB / 0.8639 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006441/2.094, allocations: 2.247 MB / 0.8661 GB, free: 155 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/2.096, allocations: 370.7 kB / 0.8665 GB, free: 155 MB / 0.5138 GB Notification: Performance of SimCode: time 1.212e-06/2.096, allocations: 0 / 0.8665 GB, free: 155 MB / 0.5138 GB Notification: Performance of Templates: time 0.1371/2.233, allocations: 71.92 MB / 0.9367 GB, free: 91.24 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)