Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 11.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2991, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03851/0.3377, allocations: 33.52 MB / 360 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02744/0.3652, allocations: 9.311 MB / 369.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009656/0.3749, allocations: 231.1 kB / 369.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009504/0.3844, allocations: 1.891 MB / 371.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.4009, allocations: 3.37 MB / 374.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007728/0.4087, allocations: 1.613 MB / 376.4 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02946/0.4382, allocations: 18.96 MB / 395.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05802/0.4962, allocations: 24.63 MB / 420 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/0.5101, allocations: 6.152 MB / 426.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01487/0.525, allocations: 6.985 MB / 433.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005111/0.5302, allocations: 0.9453 MB / 434.1 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008725/0.5389, allocations: 1.312 MB / 435.4 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007357/0.5463, allocations: 3.029 MB / 438.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00915/0.5555, allocations: 3.108 MB / 441.5 MB, free: 44 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6329/1.188, allocations: 27.02 MB / 468.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.188, allocations: 1.312 kB / 468.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/1.188, allocations: 0 / 468.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001209/1.19, allocations: 1.062 kB / 468.6 MB, free: 36.52 MB / 382.1 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.04667/1.236, allocations: 15.88 MB / 484.4 MB, free: 28.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.236, allocations: 9.188 kB / 484.5 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04807/1.284, allocations: 9.276 MB / 493.7 MB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/1.305, allocations: 8.99 MB / 0.4909 GB, free: 23.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/1.306, allocations: 1.08 MB / 0.492 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007594/1.314, allocations: 1.417 MB / 0.4934 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06926/1.383, allocations: 23.12 MB / 0.5159 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008312/1.384, allocations: 23.3 kB / 0.516 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007725/1.392, allocations: 0.5844 MB / 0.5165 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008453/1.393, allocations: 0.8066 MB / 0.5173 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05267/1.445, allocations: 21.61 MB / 0.5384 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1622/1.608, allocations: 74.34 MB / 0.611 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3056/1.913, allocations: 53.53 MB / 0.6633 GB, free: 122.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009722/1.923, allocations: 5.434 MB / 0.6686 GB, free: 121 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03261/1.956, allocations: 15.62 MB / 0.6839 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/1.956, allocations: 89.84 kB / 0.684 GB, free: 113.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 1.058e-05/1.956, allocations: 0 / 0.684 GB, free: 113.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.07404/2.03, allocations: 29.1 MB / 0.7124 GB, free: 94.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/2.03, allocations: 129.4 kB / 0.7125 GB, free: 94.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/2.042, allocations: 5.864 MB / 0.7182 GB, free: 88.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001211/2.044, allocations: 109.7 kB / 0.7183 GB, free: 88.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003727/2.047, allocations: 6.278 MB / 0.7245 GB, free: 82.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002171/2.05, allocations: 1.761 MB / 0.7262 GB, free: 80.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/2.051, allocations: 160 kB / 0.7263 GB, free: 80.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007558/2.052, allocations: 0.6207 MB / 0.7269 GB, free: 79.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006255/2.058, allocations: 3.708 MB / 0.7306 GB, free: 76.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007608/2.066, allocations: 6.785 MB / 0.7372 GB, free: 67.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007959/2.074, allocations: 5.162 MB / 0.7422 GB, free: 62.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-05/2.074, allocations: 28 kB / 0.7423 GB, free: 62.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02362/2.097, allocations: 12.45 MB / 0.7544 GB, free: 50.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.098, allocations: 48 kB / 0.7545 GB, free: 50.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/2.098, allocations: 104 kB / 0.7546 GB, free: 49.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004426/2.102, allocations: 1.605 MB / 0.7561 GB, free: 48.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006657/2.109, allocations: 1.743 MB / 0.7578 GB, free: 46.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/2.13, allocations: 18.2 MB / 0.7756 GB, free: 27.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007537/2.138, allocations: 443.4 kB / 0.776 GB, free: 27.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/2.139, allocations: 396 kB / 0.7764 GB, free: 26.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,53.5%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01137/2.151, allocations: 5.25 MB / 0.7815 GB, free: 21.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/2.153, allocations: 0.602 MB / 0.7821 GB, free: 21.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/2.171, allocations: 9.466 MB / 0.7914 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009262/2.181, allocations: 5.936 MB / 0.7971 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/2.181, allocations: 23.89 kB / 0.7972 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.181, allocations: 27.91 kB / 0.7972 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3185/2.5, allocations: 21.21 MB / 0.8179 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/2.5, allocations: 3.969 kB / 0.8179 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003289/2.503, allocations: 0.8659 MB / 0.8188 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/2.507, allocations: 1.634 MB / 0.8204 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/2.507, allocations: 129.8 kB / 0.8205 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.528, allocations: 21.35 MB / 0.8413 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.528, allocations: 11.59 kB / 0.8413 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/2.549, allocations: 13.84 MB / 0.8549 GB, free: 126.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/2.554, allocations: 1.38 MB / 0.8562 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002839/2.556, allocations: 104 kB / 0.8563 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005132/2.562, allocations: 294.9 kB / 0.8566 GB, free: 125.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001651/2.563, allocations: 416.3 kB / 0.857 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008721/2.564, allocations: 155.6 kB / 0.8571 GB, free: 124.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009596/2.574, allocations: 3.925 MB / 0.861 GB, free: 121.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.866e-06/2.574, allocations: 0 / 0.861 GB, free: 121.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01664/2.591, allocations: 2.367 MB / 0.8633 GB, free: 119.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002113/2.593, allocations: 315.1 kB / 0.8636 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01782/2.611, allocations: 10.06 MB / 0.8734 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/2.611, allocations: 4 kB / 0.8734 GB, free: 110.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008721/2.619, allocations: 5.483 MB / 0.8788 GB, free: 105.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009524/2.629, allocations: 1.576 MB / 0.8803 GB, free: 103.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05126/2.68, allocations: 30.12 MB / 0.9097 GB, free: 75.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01256/2.693, allocations: 8.93 MB / 0.9184 GB, free: 66.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008555/2.701, allocations: 2.599 MB / 0.921 GB, free: 63.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/2.703, allocations: 463.4 kB / 0.9214 GB, free: 63.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.252e-06/2.703, allocations: 0 / 0.9214 GB, free: 63.38 MB / 478.1 MB Notification: Performance of Templates: time 0.4163/3.119, allocations: 96.06 MB / 1.015 GB, free: 141.8 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)