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_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.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.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.00808/0.00808, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001615/0.001616, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.594/1.594, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001236/0.001236, allocations: 54 kB / 328 MB, free: 13.51 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 46.62 MB / 374.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03863/0.1529, allocations: 36.58 MB / 411.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02647/0.1795, allocations: 9.761 MB / 421 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01023/0.1898, allocations: 223.2 kB / 421.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02546/0.2153, allocations: 9.761 MB / 430.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.2335, allocations: 4.176 MB / 435.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.2445, allocations: 2.46 MB / 437.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5636/0.8081, allocations: 17.08 MB / 454.6 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04923/0.8574, allocations: 31.25 MB / 485.9 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01647/0.8739, allocations: 8.851 MB / 494.7 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01875/0.8927, allocations: 9.613 MB / 0.4925 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008673/0.9014, allocations: 2.516 MB / 0.495 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.9139, allocations: 2.895 MB / 0.4978 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01151/0.9255, allocations: 5.031 MB / 0.5027 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02396/0.9495, allocations: 9.526 MB / 0.512 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04832/0.9979, allocations: 33.21 MB / 0.5445 GB, free: 9.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.9979, allocations: 4 kB / 0.5445 GB, free: 9.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.9979, allocations: 0 / 0.5445 GB, free: 9.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001111/0.999, allocations: 0 / 0.5445 GB, free: 9.109 MB / 446.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.07121/1.07, allocations: 19.3 MB / 0.5633 GB, free: 5.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.07, allocations: 12.03 kB / 0.5633 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05528/1.126, allocations: 9.723 MB / 0.5728 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02498/1.151, allocations: 9.493 MB / 0.5821 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/1.152, allocations: 1.064 MB / 0.5831 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007407/1.16, allocations: 1.404 MB / 0.5845 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0698/1.229, allocations: 23.58 MB / 0.6075 GB, free: 8.996 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007953/1.23, allocations: 15.81 kB / 0.6075 GB, free: 8.98 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006377/1.237, allocations: 0.5827 MB / 0.6081 GB, free: 8.414 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009276/1.238, allocations: 0.8029 MB / 0.6089 GB, free: 7.609 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0559/1.294, allocations: 22.22 MB / 0.6306 GB, free: 1.395 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4214/1.715, allocations: 74.06 MB / 0.7029 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02947/1.745, allocations: 38.09 MB / 0.7401 GB, free: 80.41 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/1.756, allocations: 6.507 MB / 0.7465 GB, free: 75.52 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03716/1.793, allocations: 18.23 MB / 0.7643 GB, free: 57.34 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.616e-05/1.793, allocations: 99.17 kB / 0.7644 GB, free: 57.23 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=581): time 8.747e-06/1.793, allocations: 0 / 0.7644 GB, free: 57.23 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.09658/1.89, allocations: 37.23 MB / 0.8007 GB, free: 19.72 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/1.89, allocations: 141.8 kB / 0.8009 GB, free: 19.56 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008778/1.898, allocations: 6.068 MB / 0.8068 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001362/1.9, allocations: 125.7 kB / 0.8069 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00308/1.903, allocations: 6.128 MB / 0.8129 GB, free: 7.188 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002455/1.905, allocations: 1.993 MB / 0.8148 GB, free: 5.211 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/1.908, allocations: 1.596 MB / 0.8164 GB, free: 3.602 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/1.908, allocations: 301.1 kB / 0.8167 GB, free: 3.305 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/1.914, allocations: 4.233 MB / 0.8208 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009195/1.923, allocations: 7.156 MB / 0.8278 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2948/2.218, allocations: 12.04 MB / 0.8396 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001795/2.218, allocations: 29.94 kB / 0.8396 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.03717/2.255, allocations: 14.27 MB / 0.8535 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/2.255, allocations: 48.91 kB / 0.8536 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/2.256, allocations: 98.98 kB / 0.8537 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00686/2.262, allocations: 2.773 MB / 0.8564 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006577/2.269, allocations: 1.689 MB / 0.858 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03769/2.307, allocations: 31.6 MB / 0.8889 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007919/2.315, allocations: 439.2 kB / 0.8893 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/2.317, allocations: 391.6 kB / 0.8897 GB, free: 139.6 MB / 0.5294 GB 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.0114/2.328, allocations: 5.421 MB / 0.895 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/2.33, allocations: 0.6348 MB / 0.8956 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02021/2.35, allocations: 11.57 MB / 0.9069 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/2.351, allocations: 60 kB / 0.907 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001075/2.351, allocations: 28 kB / 0.907 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/2.351, allocations: 34.45 kB / 0.907 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04535/2.396, allocations: 24.41 MB / 0.9309 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/2.396, allocations: 11.98 kB / 0.9309 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.4, allocations: 0.862 MB / 0.9317 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00663/2.407, allocations: 2.817 MB / 0.9345 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009438/2.408, allocations: 140 kB / 0.9346 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03503/2.443, allocations: 34.58 MB / 0.9684 GB, free: 65.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.443, allocations: 7.938 kB / 0.9684 GB, free: 65.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/2.468, allocations: 16.88 MB / 0.9848 GB, free: 48.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004435/2.473, allocations: 1.574 MB / 0.9864 GB, free: 46.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001945/2.475, allocations: 120 kB / 0.9865 GB, free: 46.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004586/2.479, allocations: 307.7 kB / 0.9868 GB, free: 46.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/2.481, allocations: 0.4932 MB / 0.9873 GB, free: 45.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004014/2.481, allocations: 177.7 kB / 0.9874 GB, free: 45.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006924/2.488, allocations: 4.1 MB / 0.9914 GB, free: 41.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/2.488, allocations: 0 / 0.9914 GB, free: 41.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01304/2.501, allocations: 2.596 MB / 0.994 GB, free: 39.12 MB / 0.5294 GB 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.001682/2.503, allocations: 304 kB / 0.9943 GB, free: 38.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02191/2.525, allocations: 11.97 MB / 1.006 GB, free: 26.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/2.525, allocations: 0 / 1.006 GB, free: 26.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01312/2.538, allocations: 7.009 MB / 1.013 GB, free: 19.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/2.551, allocations: 1.731 MB / 1.014 GB, free: 17.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3175/2.869, allocations: 26.09 MB / 1.04 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01813/2.887, allocations: 9.134 MB / 1.049 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008437/2.896, allocations: 2.634 MB / 1.051 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/2.897, allocations: 473.7 kB / 1.052 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/2.897, allocations: 0 / 1.052 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1756/3.073, allocations: 115.4 MB / 1.165 GB, free: 59 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)