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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001001/0.001001, allocations: 183.1 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0005276/0.0005276, allocations: 8 kB / 280.2 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 47.59 MB / 327.8 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03726/0.3159, allocations: 33.51 MB / 361.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02884/0.3448, allocations: 9.303 MB / 370.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01088/0.3558, allocations: 235.1 kB / 370.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.3662, allocations: 1.883 MB / 372.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.3839, allocations: 3.39 MB / 376.1 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008628/0.3926, allocations: 1.602 MB / 377.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03137/0.424, allocations: 18.96 MB / 396.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06438/0.4884, allocations: 24.64 MB / 421.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/0.5038, allocations: 6.148 MB / 427.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.5193, allocations: 6.993 MB / 434.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005145/0.5244, allocations: 0.9375 MB / 435.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008201/0.5327, allocations: 1.308 MB / 436.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007189/0.5399, allocations: 3.04 MB / 439.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008511/0.5484, allocations: 3.104 MB / 442.8 MB, free: 76 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4824/1.031, allocations: 27.02 MB / 469.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.031, allocations: 0 / 469.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/1.031, allocations: 0 / 469.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001183/1.032, allocations: 2.5 kB / 469.8 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.04796/1.08, allocations: 15.88 MB / 485.7 MB, free: 28.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.08, allocations: 11.25 kB / 485.7 MB, free: 28.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04944/1.13, allocations: 9.275 MB / 495 MB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/1.152, allocations: 8.995 MB / 0.4922 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/1.154, allocations: 1.077 MB / 0.4932 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008196/1.162, allocations: 1.408 MB / 0.4946 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07097/1.233, allocations: 23.12 MB / 0.5172 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001038/1.234, allocations: 26.7 kB / 0.5172 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008444/1.243, allocations: 0.5833 MB / 0.5178 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009394/1.244, allocations: 0.8058 MB / 0.5186 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05291/1.296, allocations: 21.61 MB / 0.5397 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1573/1.454, allocations: 74.35 MB / 0.6123 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.262/1.716, allocations: 53.52 MB / 0.6645 GB, free: 123 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009789/1.726, allocations: 5.439 MB / 0.6699 GB, free: 121.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/1.758, allocations: 15.6 MB / 0.6851 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/1.758, allocations: 96.84 kB / 0.6852 GB, free: 114 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 8.476e-06/1.758, allocations: 0 / 0.6852 GB, free: 114 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.07232/1.83, allocations: 29.1 MB / 0.7136 GB, free: 94.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.83, allocations: 133.4 kB / 0.7137 GB, free: 94.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.841, allocations: 5.863 MB / 0.7195 GB, free: 88.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.842, allocations: 109.7 kB / 0.7196 GB, free: 88.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.846, allocations: 6.28 MB / 0.7257 GB, free: 82.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002405/1.848, allocations: 1.761 MB / 0.7274 GB, free: 80.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/1.85, allocations: 156 kB / 0.7276 GB, free: 80.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0006136/1.85, allocations: 0.6246 MB / 0.7282 GB, free: 79.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006862/1.857, allocations: 3.708 MB / 0.7318 GB, free: 75.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008372/1.866, allocations: 6.785 MB / 0.7384 GB, free: 67.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00876/1.874, allocations: 5.158 MB / 0.7435 GB, free: 62.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.875, allocations: 28 kB / 0.7435 GB, free: 62.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02851/1.903, allocations: 12.44 MB / 0.7556 GB, free: 50.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.903, allocations: 49.86 kB / 0.7557 GB, free: 49.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/1.904, allocations: 104 kB / 0.7558 GB, free: 49.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/1.908, allocations: 1.606 MB / 0.7573 GB, free: 48.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/1.915, allocations: 1.751 MB / 0.7591 GB, free: 46.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/1.937, allocations: 18.2 MB / 0.7768 GB, free: 27.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/1.944, allocations: 443.4 kB / 0.7773 GB, free: 27.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/1.946, allocations: 388 kB / 0.7776 GB, free: 26.83 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.01175/1.958, allocations: 5.257 MB / 0.7828 GB, free: 21.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/1.96, allocations: 0.602 MB / 0.7833 GB, free: 20.95 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/1.98, allocations: 9.465 MB / 0.7926 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01073/1.991, allocations: 5.924 MB / 0.7984 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.826e-05/1.991, allocations: 27.95 kB / 0.7984 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001399/1.991, allocations: 23.91 kB / 0.7984 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3118/2.303, allocations: 21.22 MB / 0.8191 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/2.303, allocations: 3.906 kB / 0.8191 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003528/2.307, allocations: 0.8643 MB / 0.82 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004388/2.311, allocations: 1.63 MB / 0.8216 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/2.312, allocations: 132.2 kB / 0.8217 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0216/2.334, allocations: 21.35 MB / 0.8426 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.334, allocations: 7.75 kB / 0.8426 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/2.354, allocations: 13.84 MB / 0.8561 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/2.358, allocations: 1.381 MB / 0.8574 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/2.359, allocations: 104 kB / 0.8575 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/2.364, allocations: 296.6 kB / 0.8578 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/2.365, allocations: 410.6 kB / 0.8582 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004388/2.365, allocations: 155.5 kB / 0.8584 GB, free: 124.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007855/2.373, allocations: 3.919 MB / 0.8622 GB, free: 121.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.322e-06/2.373, allocations: 0 / 0.8622 GB, free: 121.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01094/2.384, allocations: 2.377 MB / 0.8645 GB, free: 119.3 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.001291/2.385, allocations: 319.3 kB / 0.8648 GB, free: 119 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01638/2.402, allocations: 10.05 MB / 0.8746 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.402, allocations: 7.828 kB / 0.8746 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00949/2.411, allocations: 5.48 MB / 0.88 GB, free: 105.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/2.424, allocations: 1.578 MB / 0.8815 GB, free: 104 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.059/2.483, allocations: 30.12 MB / 0.9109 GB, free: 75.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01676/2.5, allocations: 8.934 MB / 0.9197 GB, free: 66.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01045/2.511, allocations: 2.591 MB / 0.9222 GB, free: 63.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002972/2.514, allocations: 463.4 kB / 0.9226 GB, free: 63.29 MB / 478.1 MB Notification: Performance of SimCode: time 3.036e-06/2.514, allocations: 4 kB / 0.9226 GB, free: 63.29 MB / 478.1 MB Notification: Performance of Templates: time 0.532/3.046, allocations: 96.06 MB / 1.016 GB, free: 123.5 MB / 478.1 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)