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.001555/0.001555, allocations: 182 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.357/1.357, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001612/0.001612, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.561e-05, allocations: 8 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07504/0.07508, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.4048, allocations: 110.1 MB / 459.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.4052, allocations: 83.39 kB / 459.6 MB, free: 1.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6919/1.097, allocations: 221 MB / 0.6647 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.097, allocations: 4 kB / 0.6647 GB, free: 14.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0009806/1.098, allocations: 251.7 kB / 0.665 GB, free: 14 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: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.02897/1.127, allocations: 9.578 MB / 0.6743 GB, free: 4.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.127, allocations: 12.03 kB / 0.6743 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/1.14, allocations: 2.122 MB / 0.6764 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02388/1.164, allocations: 8.904 MB / 0.6851 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008896/1.165, allocations: 0.7426 MB / 0.6858 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00398/1.169, allocations: 0.9957 MB / 0.6868 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5641/1.733, allocations: 13.79 MB / 0.7003 GB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005674/1.733, allocations: 5.078 kB / 0.7003 GB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/1.737, allocations: 428.8 kB / 0.7007 GB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006935/1.738, allocations: 457.6 kB / 0.7011 GB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03572/1.774, allocations: 11.43 MB / 0.7123 GB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.874, allocations: 44.15 MB / 0.7554 GB, free: 21.52 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03848/1.913, allocations: 24.53 MB / 0.7793 GB, free: 16.21 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01461/1.927, allocations: 4.904 MB / 0.7841 GB, free: 14.4 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03659/1.964, allocations: 12.09 MB / 0.7959 GB, free: 8.715 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/1.964, allocations: 85.5 kB / 0.796 GB, free: 8.637 MB / 426.8 MB Notification: Performance of pre-optimization done (n=419): time 6.222e-06/1.964, allocations: 3.469 kB / 0.796 GB, free: 8.637 MB / 426.8 MB Notification: Performance of matching and sorting (n=425): time 0.02973/1.994, allocations: 13.83 MB / 0.8095 GB, free: 2.223 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/1.994, allocations: 103.5 kB / 0.8096 GB, free: 2.152 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008642/2.003, allocations: 4.673 MB / 0.8142 GB, free: 452 kB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/2.004, allocations: 100.2 kB / 0.8143 GB, free: 364 kB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006767/2.011, allocations: 4.661 MB / 0.8189 GB, free: 13.91 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002416/2.013, allocations: 1.424 MB / 0.8202 GB, free: 12.81 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/2.014, allocations: 97.84 kB / 0.8203 GB, free: 12.73 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003773/2.014, allocations: 498.9 kB / 0.8208 GB, free: 12.34 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/2.018, allocations: 2.256 MB / 0.823 GB, free: 11.45 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/2.022, allocations: 3.409 MB / 0.8263 GB, free: 9.188 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/2.026, allocations: 2.808 MB / 0.8291 GB, free: 8.109 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/2.026, allocations: 13 kB / 0.8291 GB, free: 8.109 MB / 442.8 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.01344/2.04, allocations: 7.798 MB / 0.8367 GB, free: 5.027 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/2.04, allocations: 21.31 kB / 0.8367 GB, free: 5.027 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.145e-05/2.04, allocations: 35.22 kB / 0.8368 GB, free: 5.027 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/2.044, allocations: 1.489 MB / 0.8382 GB, free: 4.035 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/2.049, allocations: 0.9845 MB / 0.8392 GB, free: 3.262 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3341/2.383, allocations: 26.65 MB / 0.8652 GB, free: 70.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/2.389, allocations: 236.9 kB / 0.8654 GB, free: 70.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/2.39, allocations: 190 kB / 0.8656 GB, free: 70.2 MB / 458.8 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.001213/2.391, allocations: 408.5 kB / 0.866 GB, free: 70.09 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/2.393, allocations: 0.5731 MB / 0.8666 GB, free: 70.09 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/2.409, allocations: 7.677 MB / 0.8741 GB, free: 69.35 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/2.409, allocations: 39.88 kB / 0.8741 GB, free: 69.35 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001049/2.409, allocations: 27.38 kB / 0.8741 GB, free: 69.35 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/2.41, allocations: 21.3 kB / 0.8742 GB, free: 69.35 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03636/2.446, allocations: 16.37 MB / 0.8901 GB, free: 68.12 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/2.446, allocations: 4.844 kB / 0.8901 GB, free: 68.12 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/2.448, allocations: 455.1 kB / 0.8906 GB, free: 68.12 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005039/2.453, allocations: 2.245 MB / 0.8928 GB, free: 68.01 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004167/2.454, allocations: 98.48 kB / 0.8929 GB, free: 68.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03222/2.486, allocations: 34.48 MB / 0.9265 GB, free: 51.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/2.486, allocations: 8.688 kB / 0.9265 GB, free: 51.18 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/2.503, allocations: 11.44 MB / 0.9377 GB, free: 48.43 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003733/2.506, allocations: 1.202 MB / 0.9389 GB, free: 47.96 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001603/2.508, allocations: 91.81 kB / 0.939 GB, free: 47.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/2.512, allocations: 251.7 kB / 0.9392 GB, free: 47.85 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/2.513, allocations: 438.3 kB / 0.9396 GB, free: 47.79 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/2.513, allocations: 116.6 kB / 0.9398 GB, free: 47.76 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006646/2.52, allocations: 3.576 MB / 0.9432 GB, free: 46.43 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.51e-07/2.52, allocations: 0 / 0.9432 GB, free: 46.43 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008749/2.528, allocations: 1.91 MB / 0.9451 GB, free: 46.25 MB / 458.8 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.001354/2.53, allocations: 0.644 MB / 0.9457 GB, free: 46.03 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01022/2.54, allocations: 7.641 MB / 0.9532 GB, free: 42.11 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/2.54, allocations: 3.219 kB / 0.9532 GB, free: 42.11 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007461/2.548, allocations: 5.587 MB / 0.9587 GB, free: 38.95 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008778/2.556, allocations: 1.599 MB / 0.9602 GB, free: 38.57 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03979/2.596, allocations: 15.31 MB / 0.9752 GB, free: 32.48 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.607, allocations: 6.549 MB / 0.9816 GB, free: 30.36 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005626/2.613, allocations: 1.27 MB / 0.9828 GB, free: 29.57 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/2.614, allocations: 339.1 kB / 0.9831 GB, free: 29.26 MB / 458.8 MB Notification: Performance of SimCode: time 1.432e-06/2.614, allocations: 0 / 0.9831 GB, free: 29.26 MB / 458.8 MB Notification: Performance of Templates: time 0.4666/3.08, allocations: 97.05 MB / 1.078 GB, free: 64.89 MB / 458.8 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)