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.001109/0.001109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001363/0.001363, allocations: 188.1 kB / 16.25 MB, free: 6.625 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.482/1.482, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.001164/0.001164, allocations: 51.92 kB / 279.6 MB, free: 11.29 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 46.63 MB / 326.2 MB, free: 2.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03878/0.3276, allocations: 35.95 MB / 362.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02542/0.3531, allocations: 9.629 MB / 371.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01242/0.3656, allocations: 211.2 kB / 372 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02399/0.3897, allocations: 9.094 MB / 381.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.4079, allocations: 3.721 MB / 384.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.4181, allocations: 2.273 MB / 387.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02683/0.445, allocations: 17.18 MB / 404.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05438/0.4994, allocations: 35.1 MB / 439.4 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.5151, allocations: 8.703 MB / 448.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4512/0.9663, allocations: 9.703 MB / 457.8 MB, free: 41.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0105/0.9769, allocations: 2.51 MB / 460.3 MB, free: 41.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.9883, allocations: 2.898 MB / 463.2 MB, free: 41.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009681/0.998, allocations: 5.033 MB / 468.2 MB, free: 41.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02282/1.021, allocations: 9.477 MB / 477.7 MB, free: 40.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04352/1.064, allocations: 32.99 MB / 0.4987 GB, free: 23.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.064, allocations: 0 / 0.4987 GB, free: 23.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.064, allocations: 0 / 0.4987 GB, free: 23.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001262/1.066, allocations: 3.281 kB / 0.4987 GB, free: 23.35 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.07212/1.138, allocations: 19.36 MB / 0.5176 GB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.138, allocations: 8.031 kB / 0.5176 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06104/1.199, allocations: 9.689 MB / 0.5271 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02799/1.227, allocations: 9.398 MB / 0.5363 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/1.228, allocations: 1.069 MB / 0.5373 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007218/1.236, allocations: 1.41 MB / 0.5387 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07468/1.31, allocations: 23.57 MB / 0.5617 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008454/1.311, allocations: 31.36 kB / 0.5618 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006269/1.318, allocations: 0.5795 MB / 0.5623 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/1.319, allocations: 0.8029 MB / 0.5631 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0563/1.375, allocations: 22.2 MB / 0.5848 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3677/1.743, allocations: 74.97 MB / 0.658 GB, free: 132.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02451/1.767, allocations: 38.1 MB / 0.6952 GB, free: 99.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008725/1.776, allocations: 6.468 MB / 0.7015 GB, free: 96.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02665/1.803, allocations: 18.3 MB / 0.7194 GB, free: 84.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/1.803, allocations: 90.89 kB / 0.7195 GB, free: 84.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 7.193e-06/1.803, allocations: 4 kB / 0.7195 GB, free: 84.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.08861/1.891, allocations: 37.23 MB / 0.7558 GB, free: 49.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/1.891, allocations: 137.8 kB / 0.756 GB, free: 48.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009541/1.901, allocations: 6.076 MB / 0.7619 GB, free: 42.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001245/1.902, allocations: 125.7 kB / 0.762 GB, free: 42.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.905, allocations: 6.123 MB / 0.768 GB, free: 36.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002213/1.907, allocations: 1.988 MB / 0.7699 GB, free: 34.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002648/1.91, allocations: 1.6 MB / 0.7715 GB, free: 32.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/1.91, allocations: 306.1 kB / 0.7718 GB, free: 32.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005378/1.915, allocations: 4.228 MB / 0.7759 GB, free: 28.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007197/1.923, allocations: 7.16 MB / 0.7829 GB, free: 19.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.937, allocations: 12.06 MB / 0.7947 GB, free: 6.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.292e-05/1.937, allocations: 24 kB / 0.7947 GB, free: 6.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.2809/2.218, allocations: 14.27 MB / 0.8087 GB, free: 148.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/2.218, allocations: 47.31 kB / 0.8087 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/2.218, allocations: 98.59 kB / 0.8088 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007185/2.225, allocations: 2.778 MB / 0.8115 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007647/2.233, allocations: 1.695 MB / 0.8132 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03755/2.27, allocations: 31.64 MB / 0.8441 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/2.279, allocations: 440 kB / 0.8445 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/2.281, allocations: 391.4 kB / 0.8448 GB, free: 130.2 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.01259/2.294, allocations: 5.418 MB / 0.8501 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/2.296, allocations: 0.6385 MB / 0.8508 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01902/2.315, allocations: 11.57 MB / 0.8621 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/2.315, allocations: 60 kB / 0.8621 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-05/2.315, allocations: 32 kB / 0.8621 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/2.315, allocations: 28.88 kB / 0.8622 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04597/2.361, allocations: 24.45 MB / 0.8861 GB, free: 97.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/2.361, allocations: 7.938 kB / 0.8861 GB, free: 97.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/2.365, allocations: 0.8705 MB / 0.8869 GB, free: 97.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006809/2.372, allocations: 2.834 MB / 0.8897 GB, free: 94.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/2.373, allocations: 136 kB / 0.8898 GB, free: 94.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03425/2.407, allocations: 34.61 MB / 0.9236 GB, free: 58.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.407, allocations: 12.09 kB / 0.9236 GB, free: 58.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.025/2.432, allocations: 16.89 MB / 0.9401 GB, free: 41.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005224/2.438, allocations: 1.573 MB / 0.9416 GB, free: 39.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/2.44, allocations: 116 kB / 0.9418 GB, free: 39.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/2.445, allocations: 311.7 kB / 0.9421 GB, free: 39.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/2.447, allocations: 0.4894 MB / 0.9425 GB, free: 38.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004414/2.448, allocations: 172 kB / 0.9427 GB, free: 38.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007524/2.455, allocations: 4.101 MB / 0.9467 GB, free: 34.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/2.455, allocations: 0 / 0.9467 GB, free: 34.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0129/2.468, allocations: 2.599 MB / 0.9492 GB, free: 32.09 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.001777/2.47, allocations: 319.5 kB / 0.9495 GB, free: 31.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03627/2.506, allocations: 19.33 MB / 0.9684 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.506, allocations: 0 / 0.9684 GB, free: 12.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2578/2.764, allocations: 6.994 MB / 0.9753 GB, free: 143.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/2.775, allocations: 1.73 MB / 0.9769 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04873/2.823, allocations: 32.43 MB / 1.009 GB, free: 130.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/2.837, allocations: 9.133 MB / 1.018 GB, free: 128.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008784/2.846, allocations: 2.634 MB / 1.02 GB, free: 128.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/2.848, allocations: 476.2 kB / 1.021 GB, free: 128.1 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/2.848, allocations: 1.203 kB / 1.021 GB, free: 128.1 MB / 478.1 MB Notification: Performance of Templates: time 0.171/3.019, allocations: 120.2 MB / 1.138 GB, free: 13.21 MB / 478.1 MB 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)