Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.39/1.39, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001312/0.001312, allocations: 55.92 kB / 280.1 MB, free: 10.94 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2485, allocations: 46.63 MB / 326.7 MB, free: 2.305 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03678/0.2854, allocations: 36.59 MB / 363.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.308, allocations: 9.769 MB / 373.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008977/0.317, allocations: 227.2 kB / 373.3 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0222/0.3393, allocations: 9.663 MB / 383 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01609/0.3554, allocations: 4.102 MB / 387.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007641/0.3631, allocations: 2.459 MB / 389.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02444/0.3875, allocations: 16.97 MB / 406.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04897/0.4365, allocations: 31.44 MB / 438 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.4508, allocations: 8.735 MB / 446.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01698/0.4678, allocations: 9.648 MB / 456.3 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3986/0.8664, allocations: 2.512 MB / 458.8 MB, free: 45.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.8803, allocations: 2.907 MB / 461.8 MB, free: 45.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01038/0.8907, allocations: 5.03 MB / 466.8 MB, free: 45.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02481/0.9156, allocations: 9.49 MB / 476.3 MB, free: 43.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04351/0.9591, allocations: 33.02 MB / 0.4974 GB, free: 28.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9592, allocations: 6.812 kB / 0.4974 GB, free: 28.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.9592, allocations: 0 / 0.4974 GB, free: 28.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00138/0.9606, allocations: 0 / 0.4974 GB, free: 28.43 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.07/1.031, allocations: 19.37 MB / 0.5163 GB, free: 14.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.031, allocations: 8.031 kB / 0.5163 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05337/1.084, allocations: 9.678 MB / 0.5257 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02342/1.108, allocations: 9.448 MB / 0.535 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/1.109, allocations: 1.072 MB / 0.536 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007559/1.117, allocations: 1.415 MB / 0.5374 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07601/1.193, allocations: 23.57 MB / 0.5604 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000722/1.193, allocations: 23.45 kB / 0.5604 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006164/1.2, allocations: 0.5815 MB / 0.561 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000944/1.2, allocations: 0.7991 MB / 0.5618 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05833/1.259, allocations: 22.2 MB / 0.5835 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.369/1.628, allocations: 74.99 MB / 0.6567 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02803/1.656, allocations: 38.09 MB / 0.6939 GB, free: 82.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009453/1.666, allocations: 6.467 MB / 0.7002 GB, free: 79.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03004/1.696, allocations: 18.29 MB / 0.7181 GB, free: 60.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.129e-05/1.696, allocations: 95.17 kB / 0.7182 GB, free: 60.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=581): time 8.496e-06/1.696, allocations: 0 / 0.7182 GB, free: 60.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=589): time 0.1034/1.799, allocations: 37.23 MB / 0.7545 GB, free: 23.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.799, allocations: 141.7 kB / 0.7546 GB, free: 23.15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01383/1.813, allocations: 6.072 MB / 0.7606 GB, free: 17.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001674/1.815, allocations: 129.7 kB / 0.7607 GB, free: 16.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003698/1.819, allocations: 6.124 MB / 0.7667 GB, free: 10.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002657/1.821, allocations: 1.995 MB / 0.7686 GB, free: 8.789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002872/1.824, allocations: 1.596 MB / 0.7702 GB, free: 7.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/1.824, allocations: 305.1 kB / 0.7705 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005716/1.83, allocations: 4.228 MB / 0.7746 GB, free: 2.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009286/1.839, allocations: 7.164 MB / 0.7816 GB, free: 10.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2547/2.094, allocations: 12.04 MB / 0.7934 GB, free: 150 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.5e-05/2.094, allocations: 27.25 kB / 0.7934 GB, free: 150 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.0263/2.12, allocations: 14.28 MB / 0.8073 GB, free: 147.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/2.121, allocations: 50.72 kB / 0.8074 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/2.121, allocations: 91.16 kB / 0.8075 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007071/2.128, allocations: 2.783 MB / 0.8102 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007235/2.135, allocations: 1.692 MB / 0.8118 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03374/2.169, allocations: 31.63 MB / 0.8427 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007316/2.176, allocations: 436 kB / 0.8431 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/2.178, allocations: 400.4 kB / 0.8435 GB, free: 127.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 429 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009157/2.187, allocations: 5.421 MB / 0.8488 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/2.189, allocations: 0.6418 MB / 0.8494 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/2.206, allocations: 11.56 MB / 0.8607 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/2.206, allocations: 63.98 kB / 0.8608 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.896e-05/2.206, allocations: 28 kB / 0.8608 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.662e-05/2.206, allocations: 35.83 kB / 0.8609 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03947/2.246, allocations: 24.45 MB / 0.8847 GB, free: 88.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/2.246, allocations: 8 kB / 0.8847 GB, free: 88.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/2.25, allocations: 0.8745 MB / 0.8856 GB, free: 87.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/2.256, allocations: 2.831 MB / 0.8884 GB, free: 84.97 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007218/2.257, allocations: 136 kB / 0.8885 GB, free: 84.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.033/2.29, allocations: 34.61 MB / 0.9223 GB, free: 49.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/2.29, allocations: 7.938 kB / 0.9223 GB, free: 49.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/2.314, allocations: 16.88 MB / 0.9388 GB, free: 32.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004816/2.319, allocations: 1.57 MB / 0.9403 GB, free: 30.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/2.321, allocations: 116 kB / 0.9404 GB, free: 30.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004073/2.325, allocations: 311.7 kB / 0.9407 GB, free: 30.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/2.326, allocations: 0.4932 MB / 0.9412 GB, free: 29.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003836/2.327, allocations: 168.5 kB / 0.9414 GB, free: 29.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006759/2.333, allocations: 4.108 MB / 0.9454 GB, free: 25.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/2.333, allocations: 0 / 0.9454 GB, free: 25.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01197/2.345, allocations: 2.589 MB / 0.9479 GB, free: 22.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,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) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (446): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (24,96,34.7%), (1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/2.347, allocations: 318.8 kB / 0.9482 GB, free: 22.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.252/2.599, allocations: 19.32 MB / 0.9671 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/2.599, allocations: 0 / 0.9671 GB, free: 145.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0112/2.61, allocations: 6.998 MB / 0.9739 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008996/2.619, allocations: 1.738 MB / 0.9756 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05164/2.671, allocations: 26.42 MB / 1.001 GB, free: 134.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02311/2.694, allocations: 9.138 MB / 1.01 GB, free: 131.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01018/2.704, allocations: 2.636 MB / 1.013 GB, free: 129.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/2.707, allocations: 468.1 kB / 1.013 GB, free: 129.1 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/2.707, allocations: 1.312 kB / 1.013 GB, free: 129.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1822/2.889, allocations: 120.1 MB / 1.131 GB, free: 10.28 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)