Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.376/1.376, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 118.2 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.76e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07254/0.07259, allocations: 44.5 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.3824, allocations: 103.6 MB / 453.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.3827, allocations: 84.83 kB / 453.2 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1874/0.5701, allocations: 80.24 MB / 0.5209 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5702, allocations: 4 kB / 0.5209 GB, free: 14.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000237/0.5704, allocations: 83.86 kB / 0.521 GB, free: 13.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0081/0.5786, allocations: 3.196 MB / 0.5241 GB, free: 10.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5786, allocations: 15.95 kB / 0.5241 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.5824, allocations: 0.7295 MB / 0.5249 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007946/0.5904, allocations: 3.34 MB / 0.5281 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.5906, allocations: 238.3 kB / 0.5283 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/0.5913, allocations: 323.9 kB / 0.5286 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/0.599, allocations: 4.087 MB / 0.5326 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.63e-05/0.5991, allocations: 3.938 kB / 0.5326 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003203/0.5994, allocations: 132 kB / 0.5328 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.5996, allocations: 146.2 kB / 0.5329 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2106/0.8102, allocations: 3.335 MB / 0.5362 GB, free: 74.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.8338, allocations: 13.56 MB / 0.5494 GB, free: 72.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.8399, allocations: 6.801 MB / 0.556 GB, free: 67.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.8423, allocations: 1.357 MB / 0.5574 GB, free: 67.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006337/0.8486, allocations: 3.632 MB / 0.5609 GB, free: 66.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.8487, allocations: 42.72 kB / 0.561 GB, free: 66.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 4.368e-06/0.8487, allocations: 0 / 0.561 GB, free: 66.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.009157/0.8579, allocations: 5.021 MB / 0.5659 GB, free: 65.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.8579, allocations: 66.31 kB / 0.5659 GB, free: 65.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.8603, allocations: 1.617 MB / 0.5675 GB, free: 65.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.8605, allocations: 50.05 kB / 0.5676 GB, free: 65.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/0.8612, allocations: 1.431 MB / 0.5689 GB, free: 64.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.8616, allocations: 491.4 kB / 0.5694 GB, free: 64.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.8616, allocations: 33.66 kB / 0.5695 GB, free: 64.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.8618, allocations: 369.6 kB / 0.5698 GB, free: 63.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.8627, allocations: 0.7136 MB / 0.5705 GB, free: 63.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.8639, allocations: 1.166 MB / 0.5716 GB, free: 63.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.8651, allocations: 0.9309 MB / 0.5725 GB, free: 63.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.8652, allocations: 3.781 kB / 0.5726 GB, free: 63.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003932/0.8691, allocations: 2.565 MB / 0.5751 GB, free: 62.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.8692, allocations: 14.88 kB / 0.5751 GB, free: 62.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.8692, allocations: 15.5 kB / 0.5751 GB, free: 62.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.8705, allocations: 0.4921 MB / 0.5756 GB, free: 62.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.872, allocations: 388.1 kB / 0.5759 GB, free: 62.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.8789, allocations: 6.37 MB / 0.5822 GB, free: 57.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.8807, allocations: 82.02 kB / 0.5822 GB, free: 57.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.8808, allocations: 74.22 kB / 0.5823 GB, free: 57.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.8812, allocations: 197.7 kB / 0.5825 GB, free: 57.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.8814, allocations: 192.5 kB / 0.5827 GB, free: 57.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.8856, allocations: 2.421 MB / 0.585 GB, free: 56.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.8856, allocations: 13.38 kB / 0.5851 GB, free: 56.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.8856, allocations: 6.625 kB / 0.5851 GB, free: 56.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.8856, allocations: 7.312 kB / 0.5851 GB, free: 56.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/0.8946, allocations: 5.401 MB / 0.5903 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8947, allocations: 3.844 kB / 0.5903 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/0.8956, allocations: 215.7 kB / 0.5906 GB, free: 53.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.897, allocations: 497.7 kB / 0.591 GB, free: 53.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.8971, allocations: 41.97 kB / 0.5911 GB, free: 53.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007904/0.905, allocations: 10.41 MB / 0.6012 GB, free: 44.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.905, allocations: 3.312 kB / 0.6012 GB, free: 44.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.91, allocations: 3.522 MB / 0.6047 GB, free: 43.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.9112, allocations: 449.6 kB / 0.6051 GB, free: 42.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.9115, allocations: 39.25 kB / 0.6051 GB, free: 42.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/0.9124, allocations: 72.77 kB / 0.6052 GB, free: 42.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.9127, allocations: 112.3 kB / 0.6053 GB, free: 42.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.9128, allocations: 39.25 kB / 0.6054 GB, free: 42.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001769/0.9146, allocations: 1.238 MB / 0.6066 GB, free: 42.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9146, allocations: 0 / 0.6066 GB, free: 42.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002205/0.9168, allocations: 0.6265 MB / 0.6072 GB, free: 42.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000524/0.9173, allocations: 387.2 kB / 0.6075 GB, free: 42.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003403/0.9207, allocations: 2.28 MB / 0.6098 GB, free: 41.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9208, allocations: 4.125 kB / 0.6098 GB, free: 41.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.9227, allocations: 1.653 MB / 0.6114 GB, free: 40.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.9248, allocations: 486.2 kB / 0.6119 GB, free: 39.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.9331, allocations: 4.83 MB / 0.6166 GB, free: 37.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/0.9352, allocations: 2.427 MB / 0.6189 GB, free: 36.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001639/0.9368, allocations: 413.3 kB / 0.6193 GB, free: 36.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.9372, allocations: 132 kB / 0.6195 GB, free: 36.59 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.9372, allocations: 0 / 0.6195 GB, free: 36.59 MB / 394.7 MB Notification: Performance of Templates: time 0.04539/0.9826, allocations: 31.52 MB / 0.6502 GB, free: 21.01 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1)