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.001232/0.001232, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001355/0.001355, allocations: 177.3 kB / 15.94 MB, free: 228 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.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.0004947/0.0004947, allocations: 12 kB / 280.2 MB, free: 11.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2846, allocations: 47.58 MB / 327.8 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03038/0.315, allocations: 29.26 MB / 357.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02196/0.337, allocations: 9.432 MB / 366.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00771/0.3448, allocations: 211.2 kB / 366.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008253/0.353, allocations: 1.931 MB / 368.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.3665, allocations: 3.463 MB / 372.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.3735, allocations: 1.695 MB / 373.8 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0243/0.3978, allocations: 13.97 MB / 387.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.046/0.4438, allocations: 24.28 MB / 412 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.4558, allocations: 5.814 MB / 417.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.4689, allocations: 6.455 MB / 424.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005221/0.4742, allocations: 0.9609 MB / 425.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/0.4818, allocations: 1.265 MB / 426.5 MB, free: 312 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006698/0.4886, allocations: 3.022 MB / 429.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008012/0.4966, allocations: 3.174 MB / 432.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4456/0.9422, allocations: 27.87 MB / 460.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9423, allocations: 1.281 kB / 460.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.9423, allocations: 0 / 460.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001166/0.9435, allocations: 4.344 kB / 460.6 MB, free: 36.73 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.05096/0.9944, allocations: 16.16 MB / 476.8 MB, free: 31.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.9945, allocations: 10.28 kB / 476.8 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05198/1.046, allocations: 9.65 MB / 486.4 MB, free: 28.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.07, allocations: 9.303 MB / 495.7 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/1.071, allocations: 1.071 MB / 496.8 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007865/1.079, allocations: 1.406 MB / 498.2 MB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06413/1.143, allocations: 23.36 MB / 0.5093 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008353/1.144, allocations: 18.5 kB / 0.5094 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007583/1.152, allocations: 0.582 MB / 0.5099 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009052/1.153, allocations: 0.8067 MB / 0.5107 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05332/1.206, allocations: 22.13 MB / 0.5323 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/1.351, allocations: 75.16 MB / 0.6057 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2628/1.614, allocations: 38.03 MB / 0.6429 GB, free: 148.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0325/1.646, allocations: 17.64 MB / 0.6601 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/1.646, allocations: 99.12 kB / 0.6602 GB, free: 141.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=589): time 7.794e-06/1.646, allocations: 0 / 0.6602 GB, free: 141.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=597): time 0.09096/1.737, allocations: 36.59 MB / 0.6959 GB, free: 123.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.737, allocations: 142.4 kB / 0.6961 GB, free: 123.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008552/1.746, allocations: 5.958 MB / 0.7019 GB, free: 117.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001278/1.747, allocations: 125.7 kB / 0.702 GB, free: 117.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003226/1.75, allocations: 6.108 MB / 0.708 GB, free: 111.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00235/1.753, allocations: 2.025 MB / 0.7099 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006559/1.753, allocations: 164 kB / 0.7101 GB, free: 109.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004007/1.754, allocations: 0.6412 MB / 0.7107 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005762/1.76, allocations: 4.24 MB / 0.7149 GB, free: 104.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007538/1.767, allocations: 7.146 MB / 0.7218 GB, free: 95.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/1.775, allocations: 5.692 MB / 0.7274 GB, free: 90.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.957e-05/1.775, allocations: 28 kB / 0.7274 GB, free: 90.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02498/1.8, allocations: 14.31 MB / 0.7414 GB, free: 75.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/1.801, allocations: 46.03 kB / 0.7414 GB, free: 75.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.801, allocations: 96 kB / 0.7415 GB, free: 75.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/1.807, allocations: 2.78 MB / 0.7442 GB, free: 72.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006732/1.814, allocations: 1.7 MB / 0.7459 GB, free: 71.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0317/1.845, allocations: 30.29 MB / 0.7755 GB, free: 40.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007684/1.853, allocations: 451.6 kB / 0.7759 GB, free: 39.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.855, allocations: 392 kB / 0.7763 GB, free: 39.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (887): * Single equations (assignments): 880 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(24,33.0%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01253/1.868, allocations: 5.418 MB / 0.7816 GB, free: 33.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/1.87, allocations: 0.6405 MB / 0.7822 GB, free: 33.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01872/1.889, allocations: 11.69 MB / 0.7936 GB, free: 21.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.764e-05/1.889, allocations: 60 kB / 0.7937 GB, free: 21.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.681e-05/1.889, allocations: 28 kB / 0.7937 GB, free: 21.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/1.889, allocations: 27.89 kB / 0.7937 GB, free: 21.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2899/2.179, allocations: 24.55 MB / 0.8177 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.135e-05/2.179, allocations: 7.719 kB / 0.8177 GB, free: 159 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004111/2.183, allocations: 0.882 MB / 0.8186 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006651/2.19, allocations: 2.794 MB / 0.8213 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.191, allocations: 138.5 kB / 0.8214 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03429/2.225, allocations: 32.86 MB / 0.8535 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/2.225, allocations: 12.78 kB / 0.8535 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02596/2.251, allocations: 17.94 MB / 0.8711 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004769/2.256, allocations: 1.583 MB / 0.8726 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/2.257, allocations: 114.7 kB / 0.8727 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/2.261, allocations: 328 kB / 0.873 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.262, allocations: 0.5081 MB / 0.8735 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003684/2.262, allocations: 172.1 kB / 0.8737 GB, free: 131.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00594/2.268, allocations: 4.01 MB / 0.8776 GB, free: 129.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/2.268, allocations: 0 / 0.8776 GB, free: 129.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01117/2.279, allocations: 2.594 MB / 0.8801 GB, free: 128.1 MB / 494.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 (454): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(24,33.0%) 96,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/2.281, allocations: 308.2 kB / 0.8804 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01778/2.298, allocations: 12.02 MB / 0.8922 GB, free: 117.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.298, allocations: 4 kB / 0.8922 GB, free: 117.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.011/2.309, allocations: 7.052 MB / 0.8991 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00975/2.319, allocations: 1.563 MB / 0.9006 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04603/2.365, allocations: 31.15 MB / 0.931 GB, free: 79.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00963/2.375, allocations: 9.37 MB / 0.9402 GB, free: 69.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007841/2.383, allocations: 2.638 MB / 0.9427 GB, free: 67.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/2.384, allocations: 471.3 kB / 0.9432 GB, free: 66.74 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/2.384, allocations: 0 / 0.9432 GB, free: 66.74 MB / 494.1 MB Notification: Performance of Templates: time 0.3646/2.749, allocations: 111.2 MB / 1.052 GB, free: 133.2 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: