Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.00187/0.00187, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002293/0.002293, allocations: 209.3 kB / 24.48 MB, free: 3.969 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2048, allocations: 53.38 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01534/0.2202, allocations: 11.83 MB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.2282, allocations: 4.299 MB / 448.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.2291, allocations: 103.4 kB / 448.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2313, allocations: 0.9786 MB / 449.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002849/0.2342, allocations: 1.313 MB / 450.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.236, allocations: 0.8612 MB / 451.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.2402, allocations: 4.091 MB / 455.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.2426, allocations: 1.784 MB / 457.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.2448, allocations: 1.967 MB / 459.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.2476, allocations: 2.262 MB / 461.8 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.2482, allocations: 0.5117 MB / 462.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.2494, allocations: 0.7224 MB / 463.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.2505, allocations: 1.145 MB / 464.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.2523, allocations: 1.688 MB / 465.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006686/0.259, allocations: 6.825 MB / 472.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.259, allocations: 3.984 kB / 472.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.259, allocations: 0 / 472.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.581e-05/0.259, allocations: 4 kB / 472.7 MB, free: 14.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01011/0.2691, allocations: 4.447 MB / 477.2 MB, free: 9.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2692, allocations: 8.031 kB / 477.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.2739, allocations: 0.8456 MB / 478 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.2786, allocations: 2.44 MB / 480.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.2788, allocations: 234.6 kB / 480.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.2793, allocations: 315.9 kB / 481 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00744/0.2868, allocations: 4.42 MB / 485.4 MB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.302e-05/0.2868, allocations: 7.953 kB / 485.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.2872, allocations: 128 kB / 485.6 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.2873, allocations: 138.3 kB / 485.7 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.2936, allocations: 3.663 MB / 489.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01922/0.3129, allocations: 11.46 MB / 0.4891 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.3181, allocations: 2.597 MB / 0.4916 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/0.3205, allocations: 1.3 MB / 0.4929 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005962/0.3264, allocations: 3.045 MB / 0.4959 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3265, allocations: 47.56 kB / 0.4959 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.116e-06/0.3265, allocations: 0 / 0.4959 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01387/0.3404, allocations: 6.068 MB / 0.5018 GB, free: 4.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3404, allocations: 64.72 kB / 0.5019 GB, free: 4.426 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.3428, allocations: 1.695 MB / 0.5036 GB, free: 2.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.343, allocations: 53.7 kB / 0.5036 GB, free: 2.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.3441, allocations: 1.485 MB / 0.5051 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.3445, allocations: 0.519 MB / 0.5056 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.3451, allocations: 303.5 kB / 0.5059 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3452, allocations: 309.1 kB / 0.5062 GB, free: 36 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.3465, allocations: 0.7613 MB / 0.5069 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.3483, allocations: 1.245 MB / 0.5081 GB, free: 13.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.3516, allocations: 2.115 MB / 0.5102 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.3516, allocations: 4 kB / 0.5102 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004812/0.3564, allocations: 2.641 MB / 0.5128 GB, free: 8.863 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3564, allocations: 15.98 kB / 0.5128 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3564, allocations: 12 kB / 0.5128 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3579, allocations: 0.5139 MB / 0.5133 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3595, allocations: 383.5 kB / 0.5137 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009056/0.3686, allocations: 6.556 MB / 0.5201 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.3697, allocations: 80.06 kB / 0.5201 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.3698, allocations: 79.98 kB / 0.5202 GB, free: 1.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001607/0.3714, allocations: 1.056 MB / 0.5212 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.3717, allocations: 190.8 kB / 0.5214 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.3762, allocations: 2.32 MB / 0.5237 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.3762, allocations: 11.97 kB / 0.5237 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3762, allocations: 0 / 0.5237 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.3771, allocations: 370.6 kB / 0.5241 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.3774, allocations: 28 kB / 0.5241 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.3783, allocations: 71.88 kB / 0.5242 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.3785, allocations: 125 kB / 0.5243 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005504/0.384, allocations: 2.438 MB / 0.5267 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004449/0.3885, allocations: 2.919 MB / 0.5295 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00124/0.3897, allocations: 0.7832 MB / 0.5303 GB, free: 6.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.3914, allocations: 1.149 MB / 0.5314 GB, free: 5.492 MB / 446.1 MB Notification: Performance of Backend: time 2.51e-07/0.3914, allocations: 0 / 0.5314 GB, free: 5.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.3953, allocations: 1.864 MB / 0.5332 GB, free: 3.598 MB / 446.1 MB Notification: Performance of SimCode: time 0.1719/0.5673, allocations: 6.432 MB / 0.5395 GB, free: 100.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04478/0.6121, allocations: 38.18 MB / 0.5768 GB, free: 71.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.486572514993895] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 0.6192829680003342 0.628083748 0.36688081 Calling exit ...