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.001516/0.001516, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.402/1.402, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001606/0.001606, allocations: 111.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.305e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08364, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4192, allocations: 101 MB / 402 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4195, allocations: 83.95 kB / 402.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9168/1.336, allocations: 207.8 MB / 0.5956 GB, free: 31.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.336, allocations: 1.5 kB / 0.5956 GB, free: 31.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009743/1.337, allocations: 241.7 kB / 0.5959 GB, free: 31.25 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.03564/1.373, allocations: 9.212 MB / 0.6049 GB, free: 28.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.373, allocations: 7.688 kB / 0.6049 GB, free: 28.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/1.382, allocations: 1.537 MB / 0.6064 GB, free: 27.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.401, allocations: 7.539 MB / 0.6137 GB, free: 26.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/1.402, allocations: 306.3 kB / 0.614 GB, free: 26.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/1.405, allocations: 0.5582 MB / 0.6146 GB, free: 26.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02167/1.426, allocations: 9.528 MB / 0.6239 GB, free: 26.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03426/1.461, allocations: 11.34 MB / 0.6349 GB, free: 25.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004881/1.461, allocations: 12.5 kB / 0.635 GB, free: 25.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003501/1.465, allocations: 7.312 kB / 0.635 GB, free: 25.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/1.465, allocations: 393.8 kB / 0.6353 GB, free: 25.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07506/1.54, allocations: 38.72 MB / 0.6732 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.551, allocations: 8.366 MB / 0.6813 GB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006577/1.557, allocations: 4.072 MB / 0.6853 GB, free: 6.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/1.558, allocations: 54.95 kB / 0.6854 GB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.184e-05/1.558, allocations: 81.45 kB / 0.6854 GB, free: 6.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=431): time 7.324e-06/1.558, allocations: 3.219 kB / 0.6854 GB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=439): time 0.03033/1.588, allocations: 13.05 MB / 0.6982 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.588, allocations: 99.83 kB / 0.6983 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.598, allocations: 3.819 MB / 0.702 GB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.6, allocations: 25.7 kB / 0.702 GB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003804/1.603, allocations: 4.133 MB / 0.7061 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002206/1.606, allocations: 1.393 MB / 0.7074 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/1.606, allocations: 0 / 0.7074 GB, free: 10.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004161/1.607, allocations: 497.8 kB / 0.7079 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/1.611, allocations: 2.131 MB / 0.71 GB, free: 8.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00503/1.616, allocations: 3.157 MB / 0.7131 GB, free: 5.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/1.622, allocations: 2.655 MB / 0.7157 GB, free: 3.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.083e-05/1.622, allocations: 8 kB / 0.7157 GB, free: 3.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.02348/1.645, allocations: 7.798 MB / 0.7233 GB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/1.645, allocations: 20.12 kB / 0.7233 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.555e-05/1.645, allocations: 32 kB / 0.7233 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/1.649, allocations: 1.454 MB / 0.7247 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004383/1.654, allocations: 0.962 MB / 0.7257 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2887/1.942, allocations: 26.05 MB / 0.7511 GB, free: 44.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.947, allocations: 122.3 kB / 0.7512 GB, free: 44.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007396/1.948, allocations: 173.2 kB / 0.7514 GB, free: 44.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 () * 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,68.8%) 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.0008546/1.949, allocations: 232.9 kB / 0.7516 GB, free: 44.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009255/1.95, allocations: 0.51 MB / 0.7521 GB, free: 44.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.961, allocations: 7.172 MB / 0.7591 GB, free: 44.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/1.961, allocations: 42.12 kB / 0.7592 GB, free: 44.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.272e-05/1.961, allocations: 28.34 kB / 0.7592 GB, free: 44.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-05/1.961, allocations: 24.09 kB / 0.7592 GB, free: 44.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.986, allocations: 15.95 MB / 0.7748 GB, free: 42.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.986, allocations: 5.656 kB / 0.7748 GB, free: 42.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/1.988, allocations: 471.3 kB / 0.7753 GB, free: 42.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004478/1.992, allocations: 2.174 MB / 0.7774 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/1.993, allocations: 31.25 kB / 0.7774 GB, free: 42.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/2.023, allocations: 33.34 MB / 0.81 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/2.023, allocations: 10.28 kB / 0.81 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/2.037, allocations: 11.53 MB / 0.8212 GB, free: 24.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002967/2.04, allocations: 1.118 MB / 0.8223 GB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/2.041, allocations: 25.41 kB / 0.8224 GB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/2.044, allocations: 180.4 kB / 0.8225 GB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009277/2.045, allocations: 434.7 kB / 0.8229 GB, free: 23.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/2.045, allocations: 119.9 kB / 0.8231 GB, free: 23.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004159/2.049, allocations: 2.788 MB / 0.8258 GB, free: 22.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.049, allocations: 0 / 0.8258 GB, free: 22.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0088/2.058, allocations: 1.616 MB / 0.8274 GB, free: 22.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 242 * 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,49.6%) 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.001154/2.059, allocations: 468.9 kB / 0.8278 GB, free: 22.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009014/2.068, allocations: 7.211 MB / 0.8348 GB, free: 18.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/2.068, allocations: 2.969 kB / 0.8349 GB, free: 18.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007239/2.076, allocations: 5.635 MB / 0.8404 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007157/2.083, allocations: 1.169 MB / 0.8415 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/2.115, allocations: 14.58 MB / 0.8557 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006396/2.121, allocations: 6.313 MB / 0.8619 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004121/2.126, allocations: 1.058 MB / 0.8629 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/2.126, allocations: 297.1 kB / 0.8632 GB, free: 5.125 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/2.126, allocations: 0 / 0.8632 GB, free: 5.125 MB / 394.7 MB Notification: Performance of Templates: time 0.3805/2.507, allocations: 76.66 MB / 0.9381 GB, free: 56.42 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)