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_Initialize.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.0013/0.0013, allocations: 106.8 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.001407/0.001407, allocations: 215.5 kB / 24.49 MB, free: 3.938 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.439/1.439, 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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2061, allocations: 53.35 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03525/0.2413, allocations: 28.78 MB / 461.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.2587, allocations: 8.959 MB / 470.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.2621, allocations: 298.4 kB / 470.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01762/0.2797, allocations: 7.513 MB / 477.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.2898, allocations: 3.765 MB / 481.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.2948, allocations: 2.146 MB / 483.8 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01533/0.3101, allocations: 13.27 MB / 497.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02087/0.331, allocations: 14.97 MB / 0.5001 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008907/0.3399, allocations: 6.752 MB / 0.5067 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.3507, allocations: 7.475 MB / 0.514 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003421/0.3541, allocations: 1.879 MB / 0.5158 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004621/0.3587, allocations: 2.261 MB / 0.518 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.3622, allocations: 3.764 MB / 0.5217 GB, free: 456 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00766/0.3698, allocations: 5.538 MB / 0.5271 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2148/0.5847, allocations: 25.19 MB / 0.5517 GB, free: 43.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5847, allocations: 0 / 0.5517 GB, free: 43.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5847, allocations: 1.25 kB / 0.5517 GB, free: 43.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005383/0.5852, allocations: 0 / 0.5517 GB, free: 43.22 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.0408/0.626, allocations: 14.8 MB / 0.5661 GB, free: 36.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.626, allocations: 8.844 kB / 0.5661 GB, free: 36.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03927/0.6653, allocations: 6.803 MB / 0.5728 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/0.6829, allocations: 8.164 MB / 0.5808 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/0.6834, allocations: 0.7913 MB / 0.5815 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/0.6872, allocations: 1.039 MB / 0.5825 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/0.7213, allocations: 17.56 MB / 0.5997 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/0.7216, allocations: 23.17 kB / 0.5997 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002706/0.7243, allocations: 439.3 kB / 0.6001 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.7249, allocations: 0.6314 MB / 0.6008 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/0.7525, allocations: 16.27 MB / 0.6166 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09046/0.8429, allocations: 47.67 MB / 0.6632 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02155/0.8645, allocations: 11.01 MB / 0.674 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006959/0.8714, allocations: 3.953 MB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02001/0.8915, allocations: 9.278 MB / 0.6869 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/0.8915, allocations: 77.81 kB / 0.687 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=398): time 7.454e-06/0.8915, allocations: 0 / 0.687 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=423): time 0.047/0.9385, allocations: 20.93 MB / 0.7074 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.9386, allocations: 120.7 kB / 0.7075 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006474/0.9451, allocations: 4.403 MB / 0.7118 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.9455, allocations: 89.7 kB / 0.7119 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00366/0.9492, allocations: 4.847 MB / 0.7166 GB, free: 7.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.9506, allocations: 1.519 MB / 0.7181 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/0.9526, allocations: 1.152 MB / 0.7192 GB, free: 4.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9528, allocations: 301.1 kB / 0.7195 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004705/0.9575, allocations: 2.916 MB / 0.7224 GB, free: 1.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006554/0.964, allocations: 4.998 MB / 0.7272 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/0.9758, allocations: 8.366 MB / 0.7354 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-05/0.9759, allocations: 20 kB / 0.7354 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01761/0.9935, allocations: 9.695 MB / 0.7449 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.9935, allocations: 34.28 kB / 0.7449 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-05/0.9936, allocations: 72 kB / 0.745 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004852/0.9985, allocations: 1.643 MB / 0.7466 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.004, allocations: 1.324 MB / 0.7479 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2373/1.241, allocations: 16.96 MB / 0.7645 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/1.246, allocations: 330.1 kB / 0.7648 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000812/1.246, allocations: 285.1 kB / 0.7651 GB, free: 199.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005162/1.252, allocations: 3.894 MB / 0.7689 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009916/1.253, allocations: 492.2 kB / 0.7693 GB, free: 197.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.264, allocations: 7.555 MB / 0.7767 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/1.264, allocations: 22.31 kB / 0.7767 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.264, allocations: 7.047 kB / 0.7767 GB, free: 194.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.267, allocations: 1.061 MB / 0.7778 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000658/1.267, allocations: 79.59 kB / 0.7778 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.27, allocations: 218.9 kB / 0.7781 GB, free: 194.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/1.27, allocations: 377.2 kB / 0.7784 GB, free: 194.3 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01203/1.282, allocations: 7.449 MB / 0.7857 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0102/1.293, allocations: 8.888 MB / 0.7944 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002806/1.295, allocations: 2.603 MB / 0.7969 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003385/1.299, allocations: 2.878 MB / 0.7997 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of Backend: time 2.71e-07/1.299, allocations: 0 / 0.7997 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009935/1.309, allocations: 5.798 MB / 0.8054 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02339/1.332, allocations: 18.84 MB / 0.8238 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1284/1.461, allocations: 104.9 MB / 0.9262 GB, free: 57.17 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.113212980002572] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.airGap.V_mrr.im', 'imc.airGap.V_mrr.re', 'imc.airGap.V_msr.im', 'imc.airGap.V_msr.re', '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.port_p.V_m.im', 'imc.stator.port_p.V_m.re', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 1.4679894049986615 1.4769905110000001 0.890022334 Calling exit ...