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_Initialize.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.001264/0.001264, allocations: 114.4 kB / 21.19 MB, free: 0.75 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.001341/0.001341, allocations: 216.4 kB / 24.48 MB, free: 4.199 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.442/1.442, allocations: 230.4 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_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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [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.001902/0.001902, allocations: 71.83 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2092, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03815/0.2473, allocations: 33.71 MB / 465.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.2646, allocations: 9.267 MB / 475.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/0.2688, allocations: 243.2 kB / 475.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01809/0.2869, allocations: 8.088 MB / 483.4 MB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.2975, allocations: 3.745 MB / 487.1 MB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.3029, allocations: 2.168 MB / 489.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01699/0.3199, allocations: 13.16 MB / 0.4907 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02098/0.3409, allocations: 13.93 MB / 0.5043 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/0.35, allocations: 6.615 MB / 0.5108 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.3616, allocations: 7.475 MB / 0.5181 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003539/0.3651, allocations: 1.879 MB / 0.5199 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.3702, allocations: 2.273 MB / 0.5221 GB, free: 364 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004051/0.3742, allocations: 3.764 MB / 0.5258 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009338/0.3836, allocations: 7.109 MB / 0.5327 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1897/0.5732, allocations: 25.1 MB / 0.5573 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5732, allocations: 0 / 0.5573 GB, free: 40.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5732, allocations: 0 / 0.5573 GB, free: 40.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005447/0.5738, allocations: 0 / 0.5573 GB, free: 40.97 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.03583/0.6096, allocations: 14.89 MB / 0.5718 GB, free: 34.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6096, allocations: 7.125 kB / 0.5718 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03597/0.6456, allocations: 6.798 MB / 0.5784 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/0.6607, allocations: 8.167 MB / 0.5864 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003674/0.6611, allocations: 0.7906 MB / 0.5872 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.6635, allocations: 1.05 MB / 0.5882 GB, free: 25.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/0.6883, allocations: 17.26 MB / 0.6051 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.6885, allocations: 11.52 kB / 0.6051 GB, free: 9.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.6897, allocations: 452.4 kB / 0.6055 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004172/0.6901, allocations: 0.6275 MB / 0.6061 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/0.716, allocations: 16.34 MB / 0.6221 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08644/0.8024, allocations: 56.48 MB / 0.6772 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03051/0.8329, allocations: 30.96 MB / 0.7075 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006291/0.8392, allocations: 3.963 MB / 0.7113 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/0.8577, allocations: 10.76 MB / 0.7218 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.8577, allocations: 81.81 kB / 0.7219 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=398): time 4.789e-06/0.8578, allocations: 3.562 kB / 0.7219 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=423): time 0.04488/0.9026, allocations: 21.79 MB / 0.7432 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.9027, allocations: 124.4 kB / 0.7433 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006778/0.9095, allocations: 4.707 MB / 0.7479 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002864/0.9098, allocations: 97.7 kB / 0.748 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.191/1.101, allocations: 4.824 MB / 0.7527 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.102, allocations: 1.519 MB / 0.7542 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002583/1.105, allocations: 1.148 MB / 0.7553 GB, free: 209.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/1.105, allocations: 307 kB / 0.7556 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/1.109, allocations: 2.914 MB / 0.7585 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/1.113, allocations: 4.951 MB / 0.7633 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007828/1.121, allocations: 8.367 MB / 0.7715 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/1.121, allocations: 19.38 kB / 0.7715 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01323/1.134, allocations: 9.728 MB / 0.781 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/1.134, allocations: 35.12 kB / 0.781 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-05/1.134, allocations: 66.34 kB / 0.7811 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/1.138, allocations: 1.658 MB / 0.7827 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.142, allocations: 1.316 MB / 0.784 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/1.16, allocations: 17.78 MB / 0.8014 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.165, allocations: 323.8 kB / 0.8017 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/1.165, allocations: 287.1 kB / 0.8019 GB, free: 180.2 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.004766/1.17, allocations: 3.892 MB / 0.8057 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/1.171, allocations: 0.52 MB / 0.8062 GB, free: 176.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.182, allocations: 7.737 MB / 0.8138 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.182, allocations: 26.77 kB / 0.8138 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.182, allocations: 4 kB / 0.8138 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.184, allocations: 1.152 MB / 0.815 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006477/1.185, allocations: 80 kB / 0.815 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002317/1.187, allocations: 218.6 kB / 0.8152 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/1.187, allocations: 357.7 kB / 0.8156 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0115/1.199, allocations: 7.504 MB / 0.8229 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009772/1.209, allocations: 8.911 MB / 0.8316 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00265/1.211, allocations: 2.61 MB / 0.8342 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003733/1.215, allocations: 3.198 MB / 0.8373 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of Backend: time 1.91e-07/1.215, allocations: 0 / 0.8373 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.225, allocations: 5.815 MB / 0.843 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02456/1.25, allocations: 19.12 MB / 0.8616 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.3072/1.557, allocations: 99.02 MB / 0.9583 GB, free: 216.9 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.171228853985667] 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.5649600783362985 1.57358968 0.998047938 Calling exit ...