Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 44.06 kB / 380.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2036, allocations: 53.37 MB / 434 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05153/0.2551, allocations: 42.81 MB / 476.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0261/0.2812, allocations: 12.79 MB / 489.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007427/0.2886, allocations: 461.6 kB / 490 MB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03268/0.3213, allocations: 13.05 MB / 0.4913 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01821/0.3395, allocations: 5.579 MB / 0.4967 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009753/0.3493, allocations: 3.359 MB / 0.5 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02975/0.379, allocations: 24.5 MB / 0.5239 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4045/0.7835, allocations: 30.4 MB / 0.5536 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01471/0.7983, allocations: 12.94 MB / 0.5662 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01576/0.814, allocations: 14.16 MB / 0.5801 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006495/0.8205, allocations: 3.623 MB / 0.5836 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008017/0.8285, allocations: 4.119 MB / 0.5876 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005937/0.8345, allocations: 7.316 MB / 0.5948 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0272/0.8617, allocations: 11.9 MB / 0.6064 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05472/0.9164, allocations: 49.06 MB / 0.6543 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.9164, allocations: 4 kB / 0.6543 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9164, allocations: 0 / 0.6543 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0008697/0.9173, allocations: 2.656 kB / 0.6543 GB, free: 14.84 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.08039/0.9977, allocations: 28.08 MB / 0.6817 GB, free: 2.844 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9977, allocations: 8.031 kB / 0.6817 GB, free: 2.836 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07813/1.076, allocations: 13.81 MB / 0.6952 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03545/1.111, allocations: 15.25 MB / 0.7101 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/1.113, allocations: 1.573 MB / 0.7117 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006801/1.12, allocations: 2.068 MB / 0.7137 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08192/1.202, allocations: 35.4 MB / 0.7482 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008503/1.203, allocations: 35.45 kB / 0.7483 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005931/1.208, allocations: 0.854 MB / 0.7491 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/1.21, allocations: 1.153 MB / 0.7502 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4237/1.634, allocations: 32.28 MB / 0.7818 GB, free: 193.8 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/1.76, allocations: 93.42 MB / 0.873 GB, free: 113.7 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02638/1.787, allocations: 22.69 MB / 0.8951 GB, free: 94.27 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01126/1.798, allocations: 8.973 MB / 0.9039 GB, free: 85.25 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03354/1.832, allocations: 20.39 MB / 0.9238 GB, free: 65.25 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.727e-05/1.832, allocations: 129.9 kB / 0.9239 GB, free: 65.12 MB / 0.592 GB Notification: Performance of pre-optimization done (n=894): time 1.382e-05/1.832, allocations: 4 kB / 0.9239 GB, free: 65.11 MB / 0.592 GB Notification: Performance of matching and sorting (n=906): time 0.05263/1.884, allocations: 39.02 MB / 0.962 GB, free: 26.74 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.884, allocations: 172.4 kB / 0.9622 GB, free: 26.55 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008192/1.893, allocations: 7.765 MB / 0.9698 GB, free: 18.97 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/1.893, allocations: 177.6 kB / 0.97 GB, free: 18.79 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.0031/1.897, allocations: 9.023 MB / 0.9788 GB, free: 9.863 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/1.899, allocations: 3.2 MB / 0.9819 GB, free: 6.707 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002936/1.901, allocations: 2.248 MB / 0.9841 GB, free: 4.449 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.054e-05/1.901, allocations: 301.1 kB / 0.9844 GB, free: 4.152 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008143/1.91, allocations: 6.249 MB / 0.9905 GB, free: 13.9 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/1.923, allocations: 10.03 MB / 1 GB, free: 2.219 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2292/2.152, allocations: 17.27 MB / 1.017 GB, free: 180.4 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.912e-05/2.153, allocations: 34.56 kB / 1.017 GB, free: 180.4 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02849/2.181, allocations: 20.13 MB / 1.037 GB, free: 172.8 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/2.181, allocations: 63.62 kB / 1.037 GB, free: 172.8 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/2.181, allocations: 114.4 kB / 1.037 GB, free: 172.8 MB / 0.6077 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/2.184, allocations: 0.9306 MB / 1.038 GB, free: 172.6 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/2.192, allocations: 2.421 MB / 1.04 GB, free: 172.3 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008539/2.201, allocations: 11.68 MB / 1.052 GB, free: 163.4 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007132/2.208, allocations: 0.6028 MB / 1.052 GB, free: 163.3 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009121/2.209, allocations: 0.5235 MB / 1.053 GB, free: 163.2 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01024/2.219, allocations: 7.925 MB / 1.061 GB, free: 159.4 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001786/2.221, allocations: 0.8872 MB / 1.061 GB, free: 159.4 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02402/2.245, allocations: 16.68 MB / 1.078 GB, free: 148.5 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/2.245, allocations: 53.8 kB / 1.078 GB, free: 148.5 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/2.245, allocations: 0 / 1.078 GB, free: 148.5 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00521/2.25, allocations: 2.194 MB / 1.08 GB, free: 147.1 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001267/2.251, allocations: 167.6 kB / 1.08 GB, free: 146.9 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004131/2.256, allocations: 474.9 kB / 1.08 GB, free: 146.6 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/2.257, allocations: 0.8447 MB / 1.081 GB, free: 146.2 MB / 0.6077 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02585/2.283, allocations: 16.74 MB / 1.098 GB, free: 132.8 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02122/2.304, allocations: 19.31 MB / 1.117 GB, free: 114 MB / 0.6077 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005969/2.31, allocations: 5.959 MB / 1.122 GB, free: 108 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.005917/2.316, allocations: 5.114 MB / 1.127 GB, free: 102.9 MB / 0.6077 GB Notification: Performance of Backend: time 4.51e-07/2.316, allocations: 0 / 1.127 GB, free: 102.9 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.332, allocations: 10.62 MB / 1.138 GB, free: 92.44 MB / 0.6077 GB Notification: Performance of SimCode: time 0.04837/2.38, allocations: 37.3 MB / 1.174 GB, free: 55.09 MB / 0.6077 GB Notification: Performance of Templates: time 0.4544/2.835, allocations: 190.8 MB / 1.36 GB, free: 118.4 MB / 0.6233 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.781773372997122] Failed to read output from testmodel.py, exit status != 0: ['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', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 2.842543040998862 2.851271166 1.932528163 Calling exit ...