Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001799/0.001799, allocations: 114.5 kB / 21.18 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002138/0.002138, allocations: 208.8 kB / 24.48 MB, free: 4.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 230.5 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.83 kB / 380.4 MB, free: 1.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2096, allocations: 53.31 MB / 433.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05557/0.2651, allocations: 50.37 MB / 484 MB, free: 4.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0253/0.2904, allocations: 13.17 MB / 497.2 MB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007232/0.2977, allocations: 386.8 kB / 497.6 MB, free: 6.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03182/0.3295, allocations: 14.06 MB / 0.4997 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01729/0.3468, allocations: 5.547 MB / 0.5051 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009827/0.3566, allocations: 3.382 MB / 0.5084 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03022/0.3868, allocations: 24.37 MB / 0.5322 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3987/0.7855, allocations: 28.56 MB / 0.5601 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/0.7996, allocations: 12.68 MB / 0.5725 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01709/0.8167, allocations: 14.15 MB / 0.5863 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006195/0.8229, allocations: 3.626 MB / 0.5898 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.8392, allocations: 4.919 MB / 0.5946 GB, free: 0 / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01005/0.8492, allocations: 7.439 MB / 0.6019 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02084/0.8701, allocations: 13.79 MB / 0.6153 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05568/0.9257, allocations: 48.86 MB / 0.6631 GB, free: 12.51 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.9257, allocations: 4 kB / 0.6631 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9257, allocations: 2.094 kB / 0.6631 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.000948/0.9267, allocations: 0 / 0.6631 GB, free: 12.5 MB / 0.5138 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.07976/1.006, allocations: 28.16 MB / 0.6906 GB, free: 416 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.006, allocations: 8.031 kB / 0.6906 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07826/1.085, allocations: 13.81 MB / 0.7041 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03533/1.12, allocations: 15.08 MB / 0.7188 GB, free: 4.207 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00144/1.122, allocations: 1.577 MB / 0.7203 GB, free: 2.648 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006576/1.128, allocations: 2.07 MB / 0.7224 GB, free: 0.5977 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4388/1.567, allocations: 34.79 MB / 0.7563 GB, free: 184.5 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005633/1.567, allocations: 29.86 kB / 0.7564 GB, free: 184.5 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00391/1.571, allocations: 0.8574 MB / 0.7572 GB, free: 184.5 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/1.572, allocations: 1.155 MB / 0.7583 GB, free: 184.5 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04975/1.622, allocations: 32.4 MB / 0.79 GB, free: 172.9 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/1.752, allocations: 107.3 MB / 0.8947 GB, free: 81.48 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03013/1.782, allocations: 49.84 MB / 0.9434 GB, free: 28.24 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/1.793, allocations: 8.999 MB / 0.9522 GB, free: 19.2 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03524/1.828, allocations: 22.92 MB / 0.9746 GB, free: 12.61 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/1.828, allocations: 129.9 kB / 0.9747 GB, free: 12.47 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=894): time 9.258e-06/1.828, allocations: 4 kB / 0.9747 GB, free: 12.47 MB / 0.6077 GB Notification: Performance of matching and sorting (n=906): time 0.2659/2.094, allocations: 39.95 MB / 1.014 GB, free: 182.3 MB / 0.6077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/2.094, allocations: 170.7 kB / 1.014 GB, free: 182.2 MB / 0.6077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009168/2.104, allocations: 8.396 MB / 1.022 GB, free: 179.3 MB / 0.6077 GB Notification: Performance of collectPreVariables (initialization): time 0.0009169/2.104, allocations: 176 kB / 1.022 GB, free: 179.1 MB / 0.6077 GB Notification: Performance of collectInitialEqns (initialization): time 0.003309/2.108, allocations: 8.993 MB / 1.031 GB, free: 173.6 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/2.11, allocations: 3.2 MB / 1.034 GB, free: 171.1 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002979/2.113, allocations: 2.238 MB / 1.036 GB, free: 170 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/2.113, allocations: 306.2 kB / 1.037 GB, free: 169.7 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007587/2.12, allocations: 6.257 MB / 1.043 GB, free: 167.4 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008207/2.129, allocations: 9.985 MB / 1.053 GB, free: 160.4 MB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01694/2.146, allocations: 17.29 MB / 1.069 GB, free: 149.6 MB / 0.6077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.239e-05/2.146, allocations: 37.44 kB / 1.069 GB, free: 149.6 MB / 0.6077 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02756/2.173, allocations: 20.31 MB / 1.089 GB, free: 134.1 MB / 0.6077 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/2.173, allocations: 56 kB / 1.089 GB, free: 134 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/2.173, allocations: 116 kB / 1.089 GB, free: 133.9 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.002429/2.176, allocations: 0.9274 MB / 1.09 GB, free: 133.2 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007855/2.184, allocations: 2.421 MB / 1.093 GB, free: 131.1 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/2.192, allocations: 12.48 MB / 1.105 GB, free: 118.8 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00738/2.2, allocations: 0.6009 MB / 1.105 GB, free: 118.2 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/2.2, allocations: 0.5273 MB / 1.106 GB, free: 117.7 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.00918/2.21, allocations: 7.916 MB / 1.114 GB, free: 109.7 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/2.211, allocations: 0.9549 MB / 1.115 GB, free: 108.8 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/2.235, allocations: 16.92 MB / 1.131 GB, free: 91.7 MB / 0.6077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.908e-05/2.235, allocations: 47.81 kB / 1.131 GB, free: 91.66 MB / 0.6077 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/2.235, allocations: 4 kB / 1.131 GB, free: 91.65 MB / 0.6077 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00501/2.24, allocations: 2.295 MB / 1.133 GB, free: 89.33 MB / 0.6077 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001687/2.242, allocations: 167.9 kB / 1.134 GB, free: 89.17 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004933/2.247, allocations: 483.5 kB / 1.134 GB, free: 88.7 MB / 0.6077 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.248, allocations: 0.7953 MB / 1.135 GB, free: 87.9 MB / 0.6077 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02573/2.274, allocations: 16.86 MB / 1.151 GB, free: 71.17 MB / 0.6077 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02095/2.295, allocations: 19.41 MB / 1.17 GB, free: 51.71 MB / 0.6077 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005986/2.301, allocations: 5.959 MB / 1.176 GB, free: 45.73 MB / 0.6077 GB Notification: Performance of sorting global known variables: time 0.006605/2.307, allocations: 5.713 MB / 1.182 GB, free: 40.03 MB / 0.6077 GB Notification: Performance of Backend: time 2.1e-07/2.307, allocations: 4 kB / 1.182 GB, free: 40.02 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.0162/2.324, allocations: 10.79 MB / 1.192 GB, free: 29.2 MB / 0.6077 GB Notification: Performance of SimCode: time 0.2574/2.581, allocations: 37.85 MB / 1.229 GB, free: 181.9 MB / 0.6077 GB Notification: Performance of Templates: time 0.2407/2.822, allocations: 180.7 MB / 1.406 GB, free: 34.72 MB / 0.6077 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.583183103241026] 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.8292514830827713 2.837226345 1.909194882 Calling exit ...