Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001654/0.001654, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002147/0.002147, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.035 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [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.001942/0.001942, allocations: 64.77 kB / 378.6 MB, free: 3.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 53.37 MB / 432 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01767/0.336, allocations: 14.4 MB / 446.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.347, allocations: 5.405 MB / 451.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.3498, allocations: 103.4 kB / 451.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.3533, allocations: 1.099 MB / 453 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.3587, allocations: 1.492 MB / 454.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.3616, allocations: 1.037 MB / 455.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006516/0.3681, allocations: 4.378 MB / 459.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.371, allocations: 1.861 MB / 461.7 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.3743, allocations: 2.076 MB / 463.8 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.3784, allocations: 2.437 MB / 466.2 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.3794, allocations: 0.5428 MB / 466.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3816, allocations: 0.9837 MB / 467.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.383, allocations: 1.387 MB / 469.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003091/0.3861, allocations: 2.357 MB / 471.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009843/0.3959, allocations: 7.416 MB / 478.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3959, allocations: 0 / 478.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3959, allocations: 0 / 478.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001698/0.3961, allocations: 4 kB / 478.9 MB, free: 7.707 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01326/0.4093, allocations: 5.072 MB / 484 MB, free: 2.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.4094, allocations: 8.031 kB / 484 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009367/0.4103, allocations: 0.5344 MB / 484.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.4149, allocations: 0.9154 MB / 485.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.4209, allocations: 2.783 MB / 488.2 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4212, allocations: 262.8 kB / 488.5 MB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/0.4218, allocations: 336 kB / 488.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008574/0.4304, allocations: 4.588 MB / 493.4 MB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.4305, allocations: 7.938 kB / 493.4 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003246/0.4308, allocations: 136 kB / 493.6 MB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.431, allocations: 154.8 kB / 493.7 MB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007291/0.4383, allocations: 3.938 MB / 497.7 MB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0264/0.4647, allocations: 13.93 MB / 0.4996 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006653/0.4713, allocations: 2.975 MB / 0.5025 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.4746, allocations: 1.583 MB / 0.504 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009456/0.484, allocations: 4.032 MB / 0.508 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/0.4841, allocations: 51.88 kB / 0.508 GB, free: 14.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 4.929e-06/0.4841, allocations: 0 / 0.508 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01869/0.5028, allocations: 7.445 MB / 0.5153 GB, free: 6.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.5028, allocations: 77.34 kB / 0.5154 GB, free: 6.441 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004625/0.5075, allocations: 2.665 MB / 0.518 GB, free: 3.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.5078, allocations: 57.7 kB / 0.518 GB, free: 3.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5093, allocations: 1.693 MB / 0.5197 GB, free: 1.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006986/0.51, allocations: 0.6506 MB / 0.5203 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/0.5106, allocations: 335.5 kB / 0.5206 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5108, allocations: 305.1 kB / 0.5209 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.5126, allocations: 0.9058 MB / 0.5218 GB, free: 15.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.5146, allocations: 1.31 MB / 0.5231 GB, free: 14.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/0.5185, allocations: 2.355 MB / 0.5254 GB, free: 11.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.5185, allocations: 7.938 kB / 0.5254 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006236/0.5248, allocations: 3.07 MB / 0.5284 GB, free: 8.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5248, allocations: 8 kB / 0.5284 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.5248, allocations: 12 kB / 0.5284 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.5265, allocations: 0.5517 MB / 0.529 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.5283, allocations: 427.4 kB / 0.5294 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.5391, allocations: 7.406 MB / 0.5366 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.541, allocations: 83.94 kB / 0.5367 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2348/0.7758, allocations: 73.16 kB / 0.5368 GB, free: 97.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (198): * Single equations (assignments): 194 * Array equations: 2 * 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,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003076/0.7788, allocations: 1.164 MB / 0.5379 GB, free: 97.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009145/0.7797, allocations: 273.8 kB / 0.5381 GB, free: 97.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/0.7854, allocations: 2.863 MB / 0.5409 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.7855, allocations: 24.88 kB / 0.541 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7855, allocations: 11.72 kB / 0.541 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.7855, allocations: 9.422 kB / 0.541 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/0.7958, allocations: 6.329 MB / 0.5472 GB, free: 94.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7958, allocations: 7.562 kB / 0.5472 GB, free: 94.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.797, allocations: 274.9 kB / 0.5474 GB, free: 94.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.7985, allocations: 0.6157 MB / 0.548 GB, free: 93.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.7986, allocations: 51.03 kB / 0.5481 GB, free: 93.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.8078, allocations: 11.02 MB / 0.5589 GB, free: 85.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8078, allocations: 3.906 kB / 0.5589 GB, free: 85.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.814, allocations: 4.158 MB / 0.5629 GB, free: 83.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.8154, allocations: 497.5 kB / 0.5634 GB, free: 83.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005512/0.8159, allocations: 43.62 kB / 0.5634 GB, free: 83.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8172, allocations: 75.92 kB / 0.5635 GB, free: 83.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.8175, allocations: 153.4 kB / 0.5637 GB, free: 83.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.8176, allocations: 51.98 kB / 0.5637 GB, free: 83.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002682/0.8203, allocations: 1.871 MB / 0.5655 GB, free: 81.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8203, allocations: 0.6562 kB / 0.5655 GB, free: 81.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003223/0.8236, allocations: 0.6999 MB / 0.5662 GB, free: 80.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * 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 {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007922/0.8315, allocations: 5.066 MB / 0.5712 GB, free: 75.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004758/0.8362, allocations: 2.729 MB / 0.5738 GB, free: 72.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.8362, allocations: 0 / 0.5738 GB, free: 72.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.8387, allocations: 1.849 MB / 0.5756 GB, free: 70.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8414, allocations: 0.6021 MB / 0.5762 GB, free: 70.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/0.8758, allocations: 26.23 MB / 0.6018 GB, free: 43.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.8776, allocations: 2.652 MB / 0.6044 GB, free: 40.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00156/0.8792, allocations: 0.5008 MB / 0.6049 GB, free: 40.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.8806, allocations: 1.448 MB / 0.6063 GB, free: 38.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8806, allocations: 0 / 0.6063 GB, free: 38.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/1.008, allocations: 67.12 MB / 0.6719 GB, free: 4.238 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.62, allocations: 0 / 0.6719 GB, free: 4.238 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.559989324305207] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', '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.core.Phi.im', 'aimc.stator.core.Phi.re', '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.w', 'powerSensor.flange_a.phi'] 17.81648442009464 17.831873136 17.432691395 Calling exit ...