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.0009208/0.0009209, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.197/1.197, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001692/0.001692, allocations: 121.1 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004747, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08907, allocations: 44.5 MB / 355.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.3774, allocations: 147.3 MB / 0.4906 GB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.3777, allocations: 108.2 kB / 0.4907 GB, free: 7.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314/1.692, allocations: 458.9 MB / 0.9389 GB, free: 31.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/1.692, allocations: 4 kB / 0.9389 GB, free: 31.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008719/1.693, allocations: 330.3 kB / 0.9392 GB, free: 31.63 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.04584/1.738, allocations: 14.07 MB / 0.9529 GB, free: 24.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.739, allocations: 8.031 kB / 0.9529 GB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03469/1.773, allocations: 6.509 MB / 0.9593 GB, free: 18.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03006/1.803, allocations: 11.55 MB / 0.9706 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001471/1.805, allocations: 1.046 MB / 0.9716 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005956/1.811, allocations: 1.37 MB / 0.9729 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3323/2.143, allocations: 23.66 MB / 0.996 GB, free: 36.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005616/2.144, allocations: 21.44 kB / 0.996 GB, free: 36.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004373/2.148, allocations: 0.5867 MB / 0.9966 GB, free: 36.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009988/2.149, allocations: 0.9302 MB / 0.9975 GB, free: 36.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04186/2.191, allocations: 21.38 MB / 1.018 GB, free: 36.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1429/2.334, allocations: 75.15 MB / 1.092 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02788/2.362, allocations: 28.43 MB / 1.12 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0568/2.419, allocations: 29.54 MB / 1.148 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.11e-05/2.419, allocations: 122.6 kB / 1.149 GB, free: 9.895 MB / 474.7 MB Notification: Performance of pre-optimization done (n=944): time 3.04e-05/2.419, allocations: 0 / 1.149 GB, free: 9.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=952): time 0.4284/2.847, allocations: 68.2 MB / 1.215 GB, free: 64.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.847, allocations: 165.8 kB / 1.215 GB, free: 64.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/2.854, allocations: 4.135 MB / 1.219 GB, free: 64.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00226/2.857, allocations: 159.3 kB / 1.219 GB, free: 64.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003108/2.86, allocations: 5.322 MB / 1.225 GB, free: 61.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003575/2.863, allocations: 3.132 MB / 1.228 GB, free: 59.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006353/2.864, allocations: 171 kB / 1.228 GB, free: 59.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000488/2.865, allocations: 0.693 MB / 1.229 GB, free: 59.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007872/2.872, allocations: 6.105 MB / 1.235 GB, free: 59.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008956/2.881, allocations: 7.985 MB / 1.242 GB, free: 57.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/2.892, allocations: 7.394 MB / 1.25 GB, free: 57.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-05/2.892, allocations: 15.62 kB / 1.25 GB, free: 57.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.02818/2.92, allocations: 18.68 MB / 1.268 GB, free: 51.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/2.92, allocations: 28.28 kB / 1.268 GB, free: 51.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/2.92, allocations: 47.78 kB / 1.268 GB, free: 51.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009811/2.93, allocations: 5.91 MB / 1.274 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006676/2.937, allocations: 1.534 MB / 1.275 GB, free: 49.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/2.954, allocations: 20.11 MB / 1.295 GB, free: 36.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007789/2.962, allocations: 431.6 kB / 1.295 GB, free: 36.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/2.964, allocations: 376.3 kB / 1.296 GB, free: 36.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 755 * 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.01211/2.976, allocations: 5.198 MB / 1.301 GB, free: 32.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/2.978, allocations: 0.6658 MB / 1.301 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0253/3.004, allocations: 18.29 MB / 1.319 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01742/3.021, allocations: 14.37 MB / 1.333 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.845e-05/3.021, allocations: 12 kB / 1.333 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.743e-05/3.021, allocations: 44.3 kB / 1.333 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3625/3.384, allocations: 36.3 MB / 1.369 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.947e-05/3.384, allocations: 3.969 kB / 1.369 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005148/3.389, allocations: 1.06 MB / 1.37 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01458/3.404, allocations: 5.992 MB / 1.376 GB, free: 70.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002015/3.406, allocations: 215.4 kB / 1.376 GB, free: 70.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02435/3.43, allocations: 24.45 MB / 1.4 GB, free: 60.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/3.43, allocations: 3.969 kB / 1.4 GB, free: 60.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05037/3.481, allocations: 27.59 MB / 1.427 GB, free: 50.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007855/3.489, allocations: 2.126 MB / 1.429 GB, free: 49.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003482/3.492, allocations: 146.5 kB / 1.429 GB, free: 49.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006757/3.499, allocations: 377.1 kB / 1.429 GB, free: 49.13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002933/3.502, allocations: 0.7172 MB / 1.43 GB, free: 48.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001102/3.503, allocations: 257.5 kB / 1.43 GB, free: 48.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005131/3.508, allocations: 3.142 MB / 1.433 GB, free: 47.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/3.508, allocations: 0.8438 kB / 1.433 GB, free: 47.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01314/3.521, allocations: 2.506 MB / 1.436 GB, free: 47.5 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (562): * Single equations (assignments): 508 * 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%) 5,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(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.002577/3.524, allocations: 0.6257 MB / 1.436 GB, free: 47.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02606/3.55, allocations: 15.72 MB / 1.452 GB, free: 40.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/3.55, allocations: 4 kB / 1.452 GB, free: 40.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.016/3.566, allocations: 8.883 MB / 1.46 GB, free: 32.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/3.577, allocations: 1.478 MB / 1.462 GB, free: 31.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07235/3.65, allocations: 35.3 MB / 1.496 GB, free: 15.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01947/3.669, allocations: 9.324 MB / 1.505 GB, free: 8.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009625/3.679, allocations: 2.076 MB / 1.507 GB, free: 7.551 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/3.681, allocations: 459.1 kB / 1.508 GB, free: 7.125 MB / 490.7 MB Notification: Performance of SimCode: time 2.275e-06/3.681, allocations: 0 / 1.508 GB, free: 7.125 MB / 490.7 MB Notification: Performance of Templates: time 0.5146/4.195, allocations: 163.5 MB / 1.667 GB, free: 0.6797 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)