Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000922/0.0009223, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.441/1.441, allocations: 194.3 MB / 203.1 MB, free: 9.262 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 116.1 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.944e-05, allocations: 3.984 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09352, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3603/0.4539, allocations: 109.4 MB / 452 MB, free: 3.02 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4542, allocations: 85.16 kB / 452.1 MB, free: 2.977 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6965/1.151, allocations: 218.2 MB / 0.6546 GB, free: 8.258 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.151, allocations: 0 / 0.6546 GB, free: 8.258 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.001413/1.152, allocations: 246.9 kB / 0.6548 GB, free: 8.02 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.5787/1.731, allocations: 9.569 MB / 0.6642 GB, free: 16.88 MB / 395.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.731, allocations: 10.84 kB / 0.6642 GB, free: 16.88 MB / 395.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/1.744, allocations: 2.126 MB / 0.6663 GB, free: 16.3 MB / 395.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02411/1.768, allocations: 8.9 MB / 0.6749 GB, free: 15.64 MB / 395.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/1.769, allocations: 329 kB / 0.6753 GB, free: 15.64 MB / 395.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/1.773, allocations: 0.5925 MB / 0.6758 GB, free: 15.63 MB / 395.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02695/1.8, allocations: 10.79 MB / 0.6864 GB, free: 15.59 MB / 395.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.842, allocations: 12.31 MB / 0.6984 GB, free: 14.5 MB / 395.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004483/1.843, allocations: 15.42 kB / 0.6984 GB, free: 14.5 MB / 395.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003711/1.846, allocations: 10.44 kB / 0.6984 GB, free: 14.5 MB / 395.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/1.847, allocations: 458.9 kB / 0.6989 GB, free: 14.48 MB / 395.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09556/1.942, allocations: 42.17 MB / 0.74 GB, free: 17.86 MB / 411.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02453/1.967, allocations: 24.27 MB / 0.7637 GB, free: 12.66 MB / 427.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007008/1.974, allocations: 4.722 MB / 0.7683 GB, free: 10.91 MB / 427.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02031/1.994, allocations: 11.73 MB / 0.7798 GB, free: 5.324 MB / 427.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/1.994, allocations: 85.66 kB / 0.7799 GB, free: 5.254 MB / 427.2 MB Notification: Performance of pre-optimization done (n=419): time 6.702e-06/1.994, allocations: 0 / 0.7799 GB, free: 5.254 MB / 427.2 MB Notification: Performance of matching and sorting (n=425): time 0.02611/2.02, allocations: 14.01 MB / 0.7936 GB, free: 14.95 MB / 443.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/2.02, allocations: 97.47 kB / 0.7937 GB, free: 14.88 MB / 443.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00654/2.027, allocations: 3.779 MB / 0.7974 GB, free: 13.43 MB / 443.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0008823/2.028, allocations: 29.27 kB / 0.7974 GB, free: 13.39 MB / 443.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.003532/2.031, allocations: 4.433 MB / 0.8017 GB, free: 10.05 MB / 443.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/2.034, allocations: 1.358 MB / 0.803 GB, free: 8.98 MB / 443.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/2.034, allocations: 0 / 0.803 GB, free: 8.98 MB / 443.2 MB Notification: Performance of setup shared object (initialization): time 0.0003396/2.034, allocations: 498.9 kB / 0.8035 GB, free: 8.594 MB / 443.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003226/2.037, allocations: 2.168 MB / 0.8056 GB, free: 7.695 MB / 443.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/2.041, allocations: 3.287 MB / 0.8088 GB, free: 5.246 MB / 443.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/2.046, allocations: 3.004 MB / 0.8118 GB, free: 2.805 MB / 443.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/2.046, allocations: 12 kB / 0.8118 GB, free: 2.793 MB / 443.2 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01229/2.059, allocations: 7.559 MB / 0.8192 GB, free: 12.34 MB / 459.2 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/2.059, allocations: 20.94 kB / 0.8192 GB, free: 12.32 MB / 459.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/2.059, allocations: 32 kB / 0.8192 GB, free: 12.29 MB / 459.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/2.062, allocations: 1.42 MB / 0.8206 GB, free: 11.12 MB / 459.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/2.066, allocations: 0.9897 MB / 0.8216 GB, free: 10.34 MB / 459.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2675/2.334, allocations: 25.66 MB / 0.8466 GB, free: 66.99 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005363/2.339, allocations: 138.5 kB / 0.8468 GB, free: 66.99 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/2.34, allocations: 194 kB / 0.8469 GB, free: 66.99 MB / 459.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (526): * Single equations (assignments): 510 * 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%) 22,(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.0009472/2.341, allocations: 238.2 kB / 0.8472 GB, free: 66.88 MB / 459.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/2.342, allocations: 0.5169 MB / 0.8477 GB, free: 66.88 MB / 459.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/2.354, allocations: 7.52 MB / 0.855 GB, free: 66.12 MB / 459.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/2.354, allocations: 39.88 kB / 0.8551 GB, free: 66.12 MB / 459.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/2.354, allocations: 26.97 kB / 0.8551 GB, free: 66.12 MB / 459.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/2.354, allocations: 24.75 kB / 0.8551 GB, free: 66.12 MB / 459.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/2.378, allocations: 14.89 MB / 0.8696 GB, free: 64.98 MB / 459.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/2.378, allocations: 6.016 kB / 0.8697 GB, free: 64.98 MB / 459.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/2.381, allocations: 451.7 kB / 0.8701 GB, free: 64.98 MB / 459.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/2.386, allocations: 2.173 MB / 0.8722 GB, free: 64.86 MB / 459.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/2.387, allocations: 35.66 kB / 0.8722 GB, free: 64.86 MB / 459.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03135/2.418, allocations: 33.29 MB / 0.9048 GB, free: 48.84 MB / 459.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.418, allocations: 5.344 kB / 0.9048 GB, free: 48.84 MB / 459.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/2.436, allocations: 11.28 MB / 0.9158 GB, free: 47.32 MB / 459.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/2.439, allocations: 1.119 MB / 0.9169 GB, free: 47.11 MB / 459.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/2.44, allocations: 22.81 kB / 0.9169 GB, free: 47.11 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/2.443, allocations: 189.4 kB / 0.9171 GB, free: 47.11 MB / 459.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/2.444, allocations: 433.2 kB / 0.9175 GB, free: 47.11 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/2.444, allocations: 114.6 kB / 0.9176 GB, free: 47.11 MB / 459.2 MB Notification: Performance of sorting global known variables: time 0.004513/2.449, allocations: 2.824 MB / 0.9203 GB, free: 46.49 MB / 459.2 MB Notification: Performance of sort global known variables: time 2.3e-07/2.449, allocations: 5.125 kB / 0.9204 GB, free: 46.49 MB / 459.2 MB Notification: Performance of remove unused functions: time 0.007939/2.457, allocations: 1.675 MB / 0.922 GB, free: 46.47 MB / 459.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,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 (241): * Single equations (assignments): 228 * 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.001213/2.458, allocations: 483.8 kB / 0.9224 GB, free: 46.34 MB / 459.2 MB Notification: Performance of simCode: created initialization part: time 0.00905/2.467, allocations: 7.287 MB / 0.9296 GB, free: 42.57 MB / 459.2 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/2.467, allocations: 0 / 0.9296 GB, free: 42.57 MB / 459.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0069/2.474, allocations: 5.352 MB / 0.9348 GB, free: 39.58 MB / 459.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007005/2.481, allocations: 1.174 MB / 0.9359 GB, free: 39.32 MB / 459.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/2.509, allocations: 14.93 MB / 0.9505 GB, free: 33.45 MB / 459.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007153/2.517, allocations: 6.56 MB / 0.9569 GB, free: 31.32 MB / 459.2 MB Notification: Performance of simCode: alias equations: time 0.004528/2.521, allocations: 1.175 MB / 0.9581 GB, free: 31.18 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009233/2.522, allocations: 315.2 kB / 0.9584 GB, free: 31.16 MB / 459.2 MB Notification: Performance of SimCode: time 9.72e-07/2.522, allocations: 0 / 0.9584 GB, free: 31.16 MB / 459.2 MB Notification: Performance of Templates: time 0.395/2.917, allocations: 76.57 MB / 1.033 GB, free: 57.61 MB / 459.2 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)