Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006956/0.006956, allocations: 165.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.358/1.358, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003027, allocations: 4 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1963, allocations: 38.76 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.319, allocations: 101.8 MB / 414.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.3193, allocations: 87.95 kB / 414.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8483/1.168, allocations: 210.1 MB / 0.6102 GB, free: 41.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.168, allocations: 3.938 kB / 0.6102 GB, free: 41.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008755/1.169, allocations: 239 kB / 0.6105 GB, free: 41.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03302/1.202, allocations: 10.17 MB / 0.6204 GB, free: 37.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.202, allocations: 7.094 kB / 0.6204 GB, free: 37.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00912/1.211, allocations: 1.545 MB / 0.6219 GB, free: 37.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0185/1.229, allocations: 7.566 MB / 0.6293 GB, free: 35.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000801/1.23, allocations: 0.7009 MB / 0.63 GB, free: 35.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003789/1.234, allocations: 0.9288 MB / 0.6309 GB, free: 35.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03614/1.27, allocations: 13 MB / 0.6436 GB, free: 28.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003249/1.271, allocations: 11.91 kB / 0.6436 GB, free: 28.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/1.273, allocations: 399.4 kB / 0.644 GB, free: 27.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/1.273, allocations: 402.2 kB / 0.6444 GB, free: 27.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/1.297, allocations: 10.51 MB / 0.6546 GB, free: 18.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3446/1.641, allocations: 40.58 MB / 0.6942 GB, free: 42.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.653, allocations: 8.722 MB / 0.7028 GB, free: 39.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/1.654, allocations: 49 kB / 0.7028 GB, free: 39.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/1.654, allocations: 81.83 kB / 0.7029 GB, free: 39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=431): time 7.024e-06/1.654, allocations: 0 / 0.7029 GB, free: 39 MB / 378.7 MB Notification: Performance of matching and sorting (n=439): time 0.05763/1.712, allocations: 22.4 MB / 0.7248 GB, free: 35.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/1.712, allocations: 99.23 kB / 0.7249 GB, free: 35.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009899/1.722, allocations: 4.648 MB / 0.7294 GB, free: 35.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001463/1.723, allocations: 102.3 kB / 0.7295 GB, free: 35.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003848/1.727, allocations: 4.115 MB / 0.7335 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002655/1.73, allocations: 1.461 MB / 0.7349 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/1.73, allocations: 93.47 kB / 0.735 GB, free: 33.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003075/1.73, allocations: 489.9 kB / 0.7355 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/1.735, allocations: 2.405 MB / 0.7378 GB, free: 32.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/1.739, allocations: 3.393 MB / 0.7412 GB, free: 31.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/1.745, allocations: 2.916 MB / 0.744 GB, free: 31.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-05/1.745, allocations: 7.406 kB / 0.744 GB, free: 31.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.01395/1.759, allocations: 7.995 MB / 0.7518 GB, free: 30.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/1.759, allocations: 15 kB / 0.7518 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.917e-05/1.759, allocations: 29.41 kB / 0.7519 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003455/1.762, allocations: 1.527 MB / 0.7534 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/1.767, allocations: 0.9722 MB / 0.7543 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/1.788, allocations: 27.65 MB / 0.7813 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.795, allocations: 218.5 kB / 0.7815 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009501/1.795, allocations: 180 kB / 0.7817 GB, free: 8.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 493 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,56.2%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008192/1.804, allocations: 3.15 MB / 0.7848 GB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.805, allocations: 0.5668 MB / 0.7853 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.819, allocations: 8 MB / 0.7931 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/1.819, allocations: 45.06 kB / 0.7932 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.595e-05/1.819, allocations: 27.25 kB / 0.7932 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.616e-05/1.819, allocations: 21.52 kB / 0.7932 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/1.854, allocations: 17.72 MB / 0.8105 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/1.854, allocations: 4 kB / 0.8105 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.856, allocations: 473.6 kB / 0.811 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006389/1.863, allocations: 2.265 MB / 0.8132 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007978/1.864, allocations: 91.84 kB / 0.8133 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3236/2.187, allocations: 35.53 MB / 0.848 GB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/2.187, allocations: 8.438 kB / 0.848 GB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/2.208, allocations: 12.1 MB / 0.8598 GB, free: 67.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004991/2.213, allocations: 1.203 MB / 0.861 GB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/2.215, allocations: 90.92 kB / 0.8611 GB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005146/2.22, allocations: 253.7 kB / 0.8613 GB, free: 67.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/2.222, allocations: 424.3 kB / 0.8617 GB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003376/2.222, allocations: 123.1 kB / 0.8618 GB, free: 67.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008147/2.23, allocations: 3.579 MB / 0.8653 GB, free: 67.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/2.23, allocations: 2.844 kB / 0.8653 GB, free: 67.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009882/2.24, allocations: 1.841 MB / 0.8671 GB, free: 67.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 240 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,54.5%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/2.242, allocations: 0.5297 MB / 0.8676 GB, free: 67.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01335/2.255, allocations: 7.966 MB / 0.8754 GB, free: 65.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.255, allocations: 3.75 kB / 0.8754 GB, free: 65.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009872/2.265, allocations: 5.896 MB / 0.8812 GB, free: 63.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009957/2.275, allocations: 1.602 MB / 0.8827 GB, free: 63.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03879/2.314, allocations: 21.35 MB / 0.9036 GB, free: 55.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008625/2.322, allocations: 6.31 MB / 0.9097 GB, free: 54.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004966/2.327, allocations: 1.151 MB / 0.9109 GB, free: 53.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/2.329, allocations: 324.8 kB / 0.9112 GB, free: 53.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/2.329, allocations: 0 / 0.9112 GB, free: 53.93 MB / 410.7 MB Notification: Performance of Templates: time 0.3991/2.728, allocations: 96.41 MB / 1.005 GB, free: 67.53 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)