Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.0.0_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.001046/0.001046, allocations: 107.1 kB / 17.74 MB, free: 5.438 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.001032/0.001032, allocations: 186.5 kB / 18.66 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 47.92 kB / 353.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2079, allocations: 49.44 MB / 402.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03688/0.2448, allocations: 38.6 MB / 441.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.2627, allocations: 10.19 MB / 451.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004346/0.2671, allocations: 275.1 kB / 451.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0204/0.2875, allocations: 10.17 MB / 462.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.2985, allocations: 4.468 MB / 466.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.3036, allocations: 2.393 MB / 468.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01818/0.3218, allocations: 18.38 MB / 487.3 MB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04447/0.3663, allocations: 35.09 MB / 0.5102 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.3777, allocations: 9.409 MB / 0.5194 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3585/0.7363, allocations: 10.3 MB / 0.5294 GB, free: 42.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005195/0.7415, allocations: 2.678 MB / 0.532 GB, free: 42.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006848/0.7483, allocations: 3.04 MB / 0.535 GB, free: 42.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004581/0.7529, allocations: 5.421 MB / 0.5403 GB, free: 42.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.7644, allocations: 10.19 MB / 0.5502 GB, free: 41.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02555/0.79, allocations: 35.78 MB / 0.5852 GB, free: 20.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.79, allocations: 0 / 0.5852 GB, free: 20.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7901, allocations: 0 / 0.5852 GB, free: 20.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006544/0.7907, allocations: 0 / 0.5852 GB, free: 20.82 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: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.04949/0.8402, allocations: 21 MB / 0.6057 GB, free: 3.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8403, allocations: 12.02 kB / 0.6057 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05824/0.8985, allocations: 10.75 MB / 0.6162 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02297/0.9215, allocations: 11.42 MB / 0.6274 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/0.9227, allocations: 1.165 MB / 0.6285 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005273/0.928, allocations: 1.51 MB / 0.63 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05306/0.9811, allocations: 25.47 MB / 0.6548 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004619/0.9815, allocations: 35.5 kB / 0.6549 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003198/0.9848, allocations: 0.6238 MB / 0.6555 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008008/0.9856, allocations: 0.8677 MB / 0.6563 GB, free: 15.91 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04278/1.028, allocations: 24.33 MB / 0.6801 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3026/1.331, allocations: 79.71 MB / 0.7579 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/1.356, allocations: 39.16 MB / 0.7962 GB, free: 135 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009506/1.366, allocations: 7.493 MB / 0.8035 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02384/1.39, allocations: 17.27 MB / 0.8204 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005861/1.396, allocations: 5.342 MB / 0.8256 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=719): time 8.175e-06/1.396, allocations: 3.969 kB / 0.8256 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=727): time 0.08945/1.485, allocations: 42.14 MB / 0.8667 GB, free: 86.55 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/1.485, allocations: 479.7 kB / 0.8672 GB, free: 85.98 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006924/1.492, allocations: 6.37 MB / 0.8734 GB, free: 79.61 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004786/1.493, allocations: 153.7 kB / 0.8736 GB, free: 79.45 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003566/1.496, allocations: 6.72 MB / 0.8801 GB, free: 72.72 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.498, allocations: 2.534 MB / 0.8826 GB, free: 70.22 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/1.5, allocations: 1.788 MB / 0.8843 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.12e-05/1.5, allocations: 301.1 kB / 0.8846 GB, free: 68.12 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005634/1.506, allocations: 4.831 MB / 0.8894 GB, free: 63.29 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/1.512, allocations: 7.851 MB / 0.897 GB, free: 54.12 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.525, allocations: 13.19 MB / 0.9099 GB, free: 39.61 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-05/1.525, allocations: 28 kB / 0.9099 GB, free: 39.58 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02084/1.546, allocations: 15.73 MB / 0.9253 GB, free: 23.72 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/1.546, allocations: 44 kB / 0.9253 GB, free: 23.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.188e-05/1.546, allocations: 88 kB / 0.9254 GB, free: 23.59 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006332/1.552, allocations: 2.912 MB / 0.9283 GB, free: 20.66 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00621/1.559, allocations: 1.856 MB / 0.9301 GB, free: 18.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2301/1.789, allocations: 33.24 MB / 0.9625 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006524/1.795, allocations: 0.5624 MB / 0.9631 GB, free: 169.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/1.796, allocations: 417.7 kB / 0.9635 GB, free: 169.3 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * Number of states: 0 () * Number of discrete variables: 48 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,switchYDQS.logicalDelay[3].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].y2,switchYDQS.logicalDelay[3].y1,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].y2,switchYDQS.logicalDelay[2].y1,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].y2,switchYDQS.logicalDelay[1].y1,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 979 * 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,1,100.0%), (24,108,31.2%), (1,8,100.0%), (9,25,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007364/1.804, allocations: 5.879 MB / 0.9692 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.805, allocations: 0.7447 MB / 0.9699 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/1.825, allocations: 13.4 MB / 0.983 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/1.825, allocations: 44.3 kB / 0.9831 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.825, allocations: 6.031 kB / 0.9831 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/1.828, allocations: 1.812 MB / 0.9849 GB, free: 160.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000973/1.829, allocations: 133.9 kB / 0.985 GB, free: 160.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.832, allocations: 413.4 kB / 0.9854 GB, free: 160.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/1.833, allocations: 0.7061 MB / 0.9861 GB, free: 160.2 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01974/1.853, allocations: 13.08 MB / 0.9988 GB, free: 155.8 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01717/1.87, allocations: 15.07 MB / 1.014 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004997/1.875, allocations: 4.874 MB / 1.018 GB, free: 146.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005188/1.88, allocations: 4.315 MB / 1.023 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of Backend: time 5.72e-07/1.88, allocations: 0 / 1.023 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.895, allocations: 9.77 MB / 1.032 GB, free: 133 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03623/1.931, allocations: 28.15 MB / 1.06 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.3692/2.3, allocations: 146.5 MB / 1.203 GB, free: 179.7 MB / 0.5607 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)