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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001413/0.001413, allocations: 162.6 kB / 7.635 MB, free: 1.445 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.229/1.229, allocations: 170.7 MB / 178.7 MB, free: 7.031 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.001619/0.001619, allocations: 104.2 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.796e-05, allocations: 4 kB / 262.2 MB, free: 3.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 38.76 MB / 301 MB, free: 39.13 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.3531, allocations: 116.3 MB / 417.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3533, allocations: 84.61 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7419/1.095, allocations: 143.7 MB / 0.548 GB, free: 20.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.806e-06/1.095, allocations: 0 / 0.548 GB, free: 20.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006735/1.096, allocations: 178 kB / 0.5481 GB, free: 20.21 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.0208/1.117, allocations: 6.387 MB / 0.5544 GB, free: 18.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.117, allocations: 7.094 kB / 0.5544 GB, free: 18.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/1.123, allocations: 0.9933 MB / 0.5553 GB, free: 17.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.135, allocations: 5.232 MB / 0.5605 GB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.135, allocations: 210.7 kB / 0.5607 GB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/1.138, allocations: 382.7 kB / 0.561 GB, free: 16.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01837/1.157, allocations: 6.506 MB / 0.5674 GB, free: 16.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/1.187, allocations: 7.779 MB / 0.575 GB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006238/1.187, allocations: 18.34 kB / 0.575 GB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002819/1.19, allocations: 7.031 kB / 0.575 GB, free: 16.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005398/1.191, allocations: 270.4 kB / 0.5753 GB, free: 16.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06462/1.255, allocations: 26.67 MB / 0.6013 GB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/1.263, allocations: 5.773 MB / 0.6069 GB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/1.267, allocations: 2.888 MB / 0.6098 GB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/1.268, allocations: 161.3 kB / 0.6099 GB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/1.268, allocations: 74.73 kB / 0.61 GB, free: 5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=322): time 6.943e-06/1.268, allocations: 0 / 0.61 GB, free: 5 MB / 330.7 MB Notification: Performance of matching and sorting (n=341): time 0.0215/1.289, allocations: 10.77 MB / 0.6205 GB, free: 8 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.289, allocations: 85.88 kB / 0.6206 GB, free: 15.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006843/1.296, allocations: 2.743 MB / 0.6233 GB, free: 14.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005571/1.297, allocations: 25.7 kB / 0.6233 GB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.299, allocations: 2.919 MB / 0.6261 GB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.3, allocations: 1.099 MB / 0.6272 GB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/1.3, allocations: 0 / 0.6272 GB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/1.301, allocations: 460.9 kB / 0.6276 GB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002481/1.303, allocations: 1.735 MB / 0.6293 GB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/1.306, allocations: 2.568 MB / 0.6318 GB, free: 9.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/1.309, allocations: 2.147 MB / 0.6339 GB, free: 8.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.309, allocations: 9.703 kB / 0.634 GB, free: 8.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.00934/1.318, allocations: 5.813 MB / 0.6396 GB, free: 5.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.319, allocations: 16 kB / 0.6396 GB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/1.319, allocations: 24 kB / 0.6397 GB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/1.321, allocations: 1.229 MB / 0.6409 GB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/1.325, allocations: 0.8235 MB / 0.6417 GB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/1.343, allocations: 20.43 MB / 0.6616 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.348, allocations: 123.9 kB / 0.6617 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/1.348, allocations: 148.6 kB / 0.6619 GB, free: 15.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (417): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5,(1,100.0%) 1,(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.0007923/1.349, allocations: 200.3 kB / 0.6621 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/1.35, allocations: 403 kB / 0.6625 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009368/1.359, allocations: 5.699 MB / 0.668 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/1.359, allocations: 35.7 kB / 0.6681 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-05/1.359, allocations: 16 kB / 0.6681 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/1.359, allocations: 13.88 kB / 0.6681 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.28/1.639, allocations: 11.8 MB / 0.6796 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/1.639, allocations: 4.094 kB / 0.6796 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.642, allocations: 483.5 kB / 0.6801 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003709/1.646, allocations: 1.55 MB / 0.6816 GB, free: 56.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006868/1.646, allocations: 29.33 kB / 0.6816 GB, free: 56.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/1.668, allocations: 28.95 MB / 0.7099 GB, free: 37.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.668, allocations: 8.656 kB / 0.7099 GB, free: 37.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.683, allocations: 8.773 MB / 0.7185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/1.686, allocations: 0.8639 MB / 0.7193 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.687, allocations: 19.48 kB / 0.7193 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.69, allocations: 143.4 kB / 0.7195 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007977/1.69, allocations: 291.6 kB / 0.7197 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.691, allocations: 97.64 kB / 0.7198 GB, free: 35.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004012/1.695, allocations: 2.043 MB / 0.7218 GB, free: 35.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.695, allocations: 1.094 kB / 0.7218 GB, free: 35.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007461/1.702, allocations: 1.182 MB / 0.723 GB, free: 35.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/1.703, allocations: 450.8 kB / 0.7234 GB, free: 35.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009002/1.712, allocations: 5.939 MB / 0.7292 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.712, allocations: 2.344 kB / 0.7292 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005816/1.718, allocations: 4.586 MB / 0.7337 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005909/1.724, allocations: 0.952 MB / 0.7346 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.745, allocations: 10.63 MB / 0.745 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/1.75, allocations: 4.506 MB / 0.7494 GB, free: 28.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003816/1.753, allocations: 0.9236 MB / 0.7503 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/1.754, allocations: 246.3 kB / 0.7505 GB, free: 28.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/1.754, allocations: 0 / 0.7505 GB, free: 28.61 MB / 378.7 MB Notification: Performance of Templates: time 0.09836/1.853, allocations: 58.68 MB / 0.8079 GB, free: 5.352 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1)