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.007031/0.007031, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.00163/0.00163, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001214/0.001214, allocations: 50.77 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 46.62 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.02683/0.1282, allocations: 27.08 MB / 400.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.1463, allocations: 8.004 MB / 408.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007067/0.1534, allocations: 163.5 kB / 408.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02137/0.1749, allocations: 9.358 MB / 417.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.1895, allocations: 3.377 MB / 421.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00657/0.1961, allocations: 1.84 MB / 423 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01753/0.2136, allocations: 12.28 MB / 435.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3393/0.5529, allocations: 24.41 MB / 459.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.5682, allocations: 6.524 MB / 466.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01771/0.5859, allocations: 7.267 MB / 473.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008171/0.5942, allocations: 1.848 MB / 475.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.6064, allocations: 2.218 MB / 477.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01117/0.6176, allocations: 3.674 MB / 481.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0186/0.6363, allocations: 7.001 MB / 488.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03038/0.6667, allocations: 24.77 MB / 0.501 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6667, allocations: 0 / 0.501 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.6668, allocations: 0 / 0.501 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008698/0.6676, allocations: 7.875 kB / 0.501 GB, free: 10.43 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.05298/0.7206, allocations: 14.66 MB / 0.5153 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/0.7207, allocations: 8.031 kB / 0.5153 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05544/0.7762, allocations: 9.467 MB / 0.5246 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.7939, allocations: 6.904 MB / 0.5313 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009214/0.7949, allocations: 0.8211 MB / 0.5321 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006196/0.8011, allocations: 1.071 MB / 0.5332 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06092/0.862, allocations: 18.74 MB / 0.5515 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006855/0.8628, allocations: 23.36 kB / 0.5515 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005972/0.8687, allocations: 459.9 kB / 0.5519 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008668/0.8696, allocations: 0.6949 MB / 0.5526 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05066/0.9203, allocations: 18.22 MB / 0.5704 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1368/1.057, allocations: 59.34 MB / 0.6283 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.527/1.584, allocations: 46.72 MB / 0.674 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007618/1.592, allocations: 4.273 MB / 0.6781 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/1.614, allocations: 12.36 MB / 0.6902 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/1.614, allocations: 73.42 kB / 0.6903 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=385): time 5.972e-06/1.614, allocations: 0 / 0.6903 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=391): time 0.0404/1.655, allocations: 19.31 MB / 0.7091 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/1.655, allocations: 93.38 kB / 0.7092 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/1.661, allocations: 4.335 MB / 0.7134 GB, free: 114.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005881/1.661, allocations: 89.36 kB / 0.7135 GB, free: 114.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/1.663, allocations: 4.829 MB / 0.7183 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.665, allocations: 1.348 MB / 0.7196 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/1.667, allocations: 1.266 MB / 0.7208 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.549e-05/1.667, allocations: 304.7 kB / 0.7211 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00416/1.671, allocations: 3.123 MB / 0.7241 GB, free: 107.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/1.677, allocations: 5.742 MB / 0.7298 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/1.688, allocations: 9.446 MB / 0.739 GB, free: 93.76 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.323e-05/1.688, allocations: 28 kB / 0.739 GB, free: 93.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01866/1.707, allocations: 10.27 MB / 0.749 GB, free: 83.43 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.707, allocations: 44.06 kB / 0.7491 GB, free: 83.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/1.707, allocations: 88 kB / 0.7492 GB, free: 83.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/1.711, allocations: 1.453 MB / 0.7506 GB, free: 81.85 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.717, allocations: 1.466 MB / 0.752 GB, free: 80.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.733, allocations: 11.44 MB / 0.7632 GB, free: 68.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/1.74, allocations: 399.3 kB / 0.7636 GB, free: 68.42 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.741, allocations: 328 kB / 0.7639 GB, free: 68.1 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.009385/1.751, allocations: 4.18 MB / 0.768 GB, free: 63.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.753, allocations: 450.5 kB / 0.7684 GB, free: 63.46 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.765, allocations: 7.339 MB / 0.7756 GB, free: 56.08 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008497/1.774, allocations: 6.038 MB / 0.7815 GB, free: 50.02 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.774, allocations: 12 kB / 0.7815 GB, free: 50 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/1.774, allocations: 23.86 kB / 0.7815 GB, free: 49.98 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.799, allocations: 16.33 MB / 0.7974 GB, free: 33.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.799, allocations: 0 / 0.7974 GB, free: 33.64 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.802, allocations: 0.7295 MB / 0.7982 GB, free: 32.91 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/1.806, allocations: 1.293 MB / 0.7994 GB, free: 31.61 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005283/1.806, allocations: 91.17 kB / 0.7995 GB, free: 31.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.819, allocations: 10.18 MB / 0.8094 GB, free: 21.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.819, allocations: 0 / 0.8094 GB, free: 21.21 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/1.838, allocations: 10.54 MB / 0.8197 GB, free: 10.61 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00489/1.843, allocations: 1.042 MB / 0.8208 GB, free: 9.543 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002852/1.846, allocations: 72 kB / 0.8208 GB, free: 9.473 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005612/1.852, allocations: 251.8 kB / 0.8211 GB, free: 9.227 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001696/1.853, allocations: 275.5 kB / 0.8213 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006351/1.854, allocations: 112 kB / 0.8214 GB, free: 8.848 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008721/1.863, allocations: 2.904 MB / 0.8243 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.62e-07/1.863, allocations: 4 kB / 0.8243 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01275/1.876, allocations: 1.846 MB / 0.8261 GB, free: 4.09 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.001472/1.877, allocations: 257.6 kB / 0.8263 GB, free: 3.836 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.2917/2.169, allocations: 7.907 MB / 0.834 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/2.169, allocations: 0 / 0.834 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01255/2.181, allocations: 3.645 MB / 0.8376 GB, free: 166.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009641/2.191, allocations: 1.083 MB / 0.8387 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04512/2.236, allocations: 18.72 MB / 0.8569 GB, free: 158.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009594/2.246, allocations: 7.035 MB / 0.8638 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007172/2.253, allocations: 2.247 MB / 0.866 GB, free: 155.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/2.254, allocations: 361.2 kB / 0.8663 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.26e-05/2.254, allocations: 0 / 0.8663 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1103/2.365, allocations: 71.92 MB / 0.9366 GB, free: 91.74 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)