Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001329/0.001329, allocations: 181.9 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.617/1.617, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001648/0.001648, allocations: 108.8 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.625e-05, allocations: 4 kB / 305 MB, free: 29.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.084, allocations: 44.49 MB / 349.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5127, allocations: 147.2 MB / 496.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.513, allocations: 105.7 kB / 496.8 MB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702/2.215, allocations: 458.7 MB / 0.9331 GB, free: 31.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/2.215, allocations: 0 / 0.9331 GB, free: 31.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001749/2.216, allocations: 330.6 kB / 0.9334 GB, free: 31.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05726/2.274, allocations: 13.29 MB / 0.9464 GB, free: 27.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/2.274, allocations: 10.41 kB / 0.9464 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04037/2.314, allocations: 6.461 MB / 0.9527 GB, free: 27.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0344/2.349, allocations: 11.52 MB / 0.964 GB, free: 21.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001963/2.351, allocations: 1.051 MB / 0.965 GB, free: 21.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008189/2.359, allocations: 1.367 MB / 0.9663 GB, free: 19.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07976/2.439, allocations: 23.4 MB / 0.9892 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001339/2.44, allocations: 23.42 kB / 0.9892 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007906/2.448, allocations: 0.5856 MB / 0.9898 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/2.449, allocations: 0.9319 MB / 0.9907 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4332/2.883, allocations: 20.99 MB / 1.011 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/3.038, allocations: 75.12 MB / 1.085 GB, free: 25.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/3.065, allocations: 28.26 MB / 1.112 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01547/3.081, allocations: 9.368 MB / 1.121 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06736/3.148, allocations: 29.54 MB / 1.15 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/3.148, allocations: 121.7 kB / 1.15 GB, free: 2.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=934): time 1.772e-05/3.148, allocations: 0 / 1.15 GB, free: 2.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=942): time 0.08402/3.232, allocations: 33.14 MB / 1.183 GB, free: 7.203 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/3.232, allocations: 163.7 kB / 1.183 GB, free: 7.023 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/3.245, allocations: 4.092 MB / 1.187 GB, free: 3.363 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002783/3.247, allocations: 153.7 kB / 1.187 GB, free: 3.207 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3791/3.627, allocations: 5.332 MB / 1.192 GB, free: 95.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005231/3.632, allocations: 3.104 MB / 1.195 GB, free: 94.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001897/3.634, allocations: 166.9 kB / 1.195 GB, free: 94.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001182/3.635, allocations: 0.6891 MB / 1.196 GB, free: 93.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/3.647, allocations: 5.956 MB / 1.202 GB, free: 93.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01457/3.662, allocations: 7.842 MB / 1.209 GB, free: 91.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/3.676, allocations: 7.271 MB / 1.217 GB, free: 91.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002065/3.676, allocations: 13.69 kB / 1.217 GB, free: 91.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.04077/3.717, allocations: 18.39 MB / 1.235 GB, free: 90.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/3.717, allocations: 27.97 kB / 1.235 GB, free: 90.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/3.717, allocations: 48.56 kB / 1.235 GB, free: 90.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/3.73, allocations: 5.87 MB / 1.24 GB, free: 90.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007322/3.738, allocations: 1.513 MB / 1.242 GB, free: 90.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02623/3.764, allocations: 19.99 MB / 1.261 GB, free: 80.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009421/3.773, allocations: 429.8 kB / 1.262 GB, free: 80.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003281/3.777, allocations: 371.9 kB / 1.262 GB, free: 80.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.005311/3.782, allocations: 0.5633 MB / 1.263 GB, free: 80.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004713/3.787, allocations: 0.6596 MB / 1.263 GB, free: 79.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03367/3.821, allocations: 18.05 MB / 1.281 GB, free: 72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02706/3.848, allocations: 14.28 MB / 1.295 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.79e-05/3.848, allocations: 7.281 kB / 1.295 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/3.848, allocations: 38.95 kB / 1.295 GB, free: 66.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06977/3.918, allocations: 35.35 MB / 1.329 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/3.918, allocations: 4 kB / 1.329 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005291/3.923, allocations: 1.037 MB / 1.33 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/3.936, allocations: 5.953 MB / 1.336 GB, free: 33.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002337/3.938, allocations: 209.8 kB / 1.336 GB, free: 32.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/3.964, allocations: 24.21 MB / 1.36 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/3.964, allocations: 7.281 kB / 1.36 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4308/4.395, allocations: 27.5 MB / 1.387 GB, free: 86.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006766/4.402, allocations: 2.106 MB / 1.389 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/4.404, allocations: 152.7 kB / 1.389 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/4.409, allocations: 369.7 kB / 1.39 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00171/4.411, allocations: 0.7094 MB / 1.39 GB, free: 86.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006646/4.412, allocations: 253.9 kB / 1.39 GB, free: 86.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005345/4.417, allocations: 3.1 MB / 1.393 GB, free: 86.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/4.417, allocations: 0 / 1.393 GB, free: 86.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01171/4.429, allocations: 2.496 MB / 1.396 GB, free: 86.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.002215/4.431, allocations: 0.7384 MB / 1.397 GB, free: 86.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02518/4.456, allocations: 15.39 MB / 1.412 GB, free: 85.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/4.456, allocations: 0 / 1.412 GB, free: 85.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01535/4.472, allocations: 8.712 MB / 1.42 GB, free: 84.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009319/4.481, allocations: 1.482 MB / 1.422 GB, free: 84.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07021/4.551, allocations: 25.93 MB / 1.447 GB, free: 75.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02125/4.572, allocations: 9.323 MB / 1.456 GB, free: 72.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00929/4.582, allocations: 2.068 MB / 1.458 GB, free: 71.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/4.584, allocations: 453.8 kB / 1.459 GB, free: 71.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/4.584, allocations: 0 / 1.459 GB, free: 71.89 MB / 490.7 MB Notification: Performance of Templates: time 0.617/5.201, allocations: 154.7 MB / 1.61 GB, free: 60.84 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)