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.001318/0.001318, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.001413/0.001413, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 15.07 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.002019/0.002019, allocations: 71.84 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 53.32 MB / 427 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2454/0.3598, allocations: 14.33 MB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3708, allocations: 5.383 MB / 446.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.3746, allocations: 99.38 kB / 446.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004548/0.3791, allocations: 1.108 MB / 448 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006742/0.3859, allocations: 1.469 MB / 449.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.3895, allocations: 1.02 MB / 450.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008482/0.398, allocations: 4.371 MB / 454.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.4023, allocations: 2.35 MB / 457.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.4068, allocations: 2.065 MB / 459.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00574/0.4126, allocations: 2.443 MB / 461.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.4145, allocations: 0.5344 MB / 462.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.4189, allocations: 0.9351 MB / 463.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.4212, allocations: 1.376 MB / 464.5 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.4276, allocations: 2.359 MB / 466.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.4399, allocations: 7.421 MB / 474.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4399, allocations: 0 / 474.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4399, allocations: 0 / 474.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.4401, allocations: 4 kB / 474.3 MB, free: 15.88 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.01846/0.4586, allocations: 5.14 MB / 479.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.4587, allocations: 9.625 kB / 479.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001823/0.4605, allocations: 0.5378 MB / 480 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/0.4662, allocations: 0.9173 MB / 480.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006844/0.473, allocations: 2.848 MB / 483.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.4733, allocations: 254.8 kB / 484 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.4745, allocations: 339.9 kB / 484.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.4851, allocations: 4.588 MB / 488.9 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.4852, allocations: 4.844 kB / 488.9 MB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.4856, allocations: 140 kB / 489.1 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.4858, allocations: 154.8 kB / 489.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008634/0.4944, allocations: 3.942 MB / 493.2 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/0.5256, allocations: 14.11 MB / 0.4954 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009629/0.5352, allocations: 6.833 MB / 0.5021 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/0.5387, allocations: 1.583 MB / 0.5036 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008842/0.5476, allocations: 4.51 MB / 0.508 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.5477, allocations: 51.81 kB / 0.5081 GB, free: 2.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.879e-06/0.5477, allocations: 0 / 0.5081 GB, free: 2.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01881/0.5665, allocations: 7.833 MB / 0.5157 GB, free: 10.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.5665, allocations: 69.41 kB / 0.5158 GB, free: 10.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.5712, allocations: 2.665 MB / 0.5184 GB, free: 7.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/0.5715, allocations: 53.7 kB / 0.5184 GB, free: 7.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.5731, allocations: 1.686 MB / 0.5201 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007848/0.5739, allocations: 0.6545 MB / 0.5207 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006105/0.5745, allocations: 335.4 kB / 0.521 GB, free: 4.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5746, allocations: 309.1 kB / 0.5213 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.5764, allocations: 0.9097 MB / 0.5222 GB, free: 3.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.5785, allocations: 1.302 MB / 0.5235 GB, free: 2.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.5825, allocations: 2.355 MB / 0.5258 GB, free: 15.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5825, allocations: 4 kB / 0.5258 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006454/0.589, allocations: 3.07 MB / 0.5288 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.589, allocations: 11.94 kB / 0.5288 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.589, allocations: 12 kB / 0.5288 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.5907, allocations: 0.5519 MB / 0.5293 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.5925, allocations: 427.3 kB / 0.5298 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.6035, allocations: 7.616 MB / 0.5372 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.6059, allocations: 88 kB / 0.5373 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.6062, allocations: 75.98 kB / 0.5373 GB, free: 3.43 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.002534/0.6088, allocations: 1.169 MB / 0.5385 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.6095, allocations: 266.3 kB / 0.5387 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005898/0.6154, allocations: 2.87 MB / 0.5415 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.6154, allocations: 23.94 kB / 0.5416 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.6154, allocations: 8 kB / 0.5416 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.6154, allocations: 7.969 kB / 0.5416 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.6276, allocations: 6.339 MB / 0.5478 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.6277, allocations: 7.938 kB / 0.5478 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.629, allocations: 279.7 kB / 0.548 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.6308, allocations: 0.6199 MB / 0.5487 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.6309, allocations: 43.98 kB / 0.5487 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.6449, allocations: 11.46 MB / 0.5599 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6449, allocations: 4.125 kB / 0.5599 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007978/0.6529, allocations: 4.161 MB / 0.564 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/0.6544, allocations: 0.5538 MB / 0.5645 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/0.6548, allocations: 43.98 kB / 0.5645 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.6559, allocations: 83.94 kB / 0.5646 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/0.6563, allocations: 133.7 kB / 0.5647 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.6564, allocations: 55.97 kB / 0.5648 GB, free: 6.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002906/0.6593, allocations: 1.871 MB / 0.5666 GB, free: 4.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6593, allocations: 0 / 0.5666 GB, free: 4.684 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002811/0.6621, allocations: 0.6952 MB / 0.5673 GB, free: 3.988 MB / 478.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.009232/0.6714, allocations: 5.062 MB / 0.5722 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005475/0.6769, allocations: 2.736 MB / 0.5749 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.6769, allocations: 0 / 0.5749 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003226/0.6801, allocations: 1.849 MB / 0.5767 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.6832, allocations: 0.6061 MB / 0.5773 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04587/0.7291, allocations: 26.18 MB / 0.6029 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.7319, allocations: 2.664 MB / 0.6055 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001709/0.7336, allocations: 0.5008 MB / 0.606 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/0.7356, allocations: 1.451 MB / 0.6074 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.7356, allocations: 0 / 0.6074 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3382/1.074, allocations: 65.63 MB / 0.6715 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.84, allocations: 10.53 kB / 0.6715 GB, free: 137.8 MB / 0.5137 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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: 19.80947989784181] 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.017700366210192 17.03583807 16.592034332 Calling exit ...