Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001353/0.001353, allocations: 120.4 kB / 18.45 MB, free: 4.59 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.001442/0.001442, allocations: 208.9 kB / 21.41 MB, free: 1.641 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.476/1.476, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_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.001914/0.001914, allocations: 75.83 kB / 365.3 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1014, allocations: 50.54 MB / 415.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01207/0.1135, allocations: 9.712 MB / 425.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.1207, allocations: 3.759 MB / 429.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.1225, allocations: 51.86 kB / 429.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.1247, allocations: 0.6675 MB / 430 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.1277, allocations: 0.8699 MB / 430.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.1293, allocations: 467.2 kB / 431.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.1335, allocations: 2.665 MB / 434 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.1362, allocations: 1.877 MB / 435.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.1384, allocations: 1.195 MB / 437.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.1412, allocations: 1.518 MB / 438.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008036/0.142, allocations: 308 kB / 438.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.1438, allocations: 0.5465 MB / 439.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.1451, allocations: 1.021 MB / 440.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002698/0.1479, allocations: 1.493 MB / 441.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2125/0.3603, allocations: 4.321 MB / 446.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3604, allocations: 0 / 446.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3604, allocations: 0 / 446.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001631/0.3606, allocations: 0 / 446.3 MB, free: 13.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007348/0.3679, allocations: 3.266 MB / 449.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.368, allocations: 10.23 kB / 449.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007064/0.3687, allocations: 350.5 kB / 449.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.37, allocations: 376.2 kB / 450.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.3736, allocations: 1.743 MB / 452 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3737, allocations: 164.5 kB / 452.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005949/0.3743, allocations: 210.7 kB / 452.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.3801, allocations: 2.727 MB / 455.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.3802, allocations: 7.594 kB / 455.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.3805, allocations: 83.31 kB / 455.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001413/0.3806, allocations: 97.52 kB / 455.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.3853, allocations: 2.299 MB / 457.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.4005, allocations: 8.243 MB / 465.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4033, allocations: 1.62 MB / 467.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.4053, allocations: 1.098 MB / 468.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.4056, allocations: 126.3 kB / 468.7 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.4056, allocations: 44.19 kB / 468.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 4.147e-06/0.4056, allocations: 0.75 kB / 468.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01295/0.4186, allocations: 6.502 MB / 475.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4186, allocations: 64.44 kB / 475.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.4215, allocations: 2.18 MB / 477.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.4218, allocations: 51.02 kB / 477.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006169/0.4224, allocations: 1.148 MB / 478.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.4228, allocations: 482.6 kB / 479.1 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.4232, allocations: 245.9 kB / 479.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.4232, allocations: 360.2 kB / 479.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.4244, allocations: 0.7587 MB / 480.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4256, allocations: 1.016 MB / 481.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.4281, allocations: 1.867 MB / 483.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4281, allocations: 2.906 kB / 483.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005341/0.4334, allocations: 2.771 MB / 486.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.4335, allocations: 11.84 kB / 486.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4335, allocations: 7.812 kB / 486.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.4355, allocations: 0.7804 MB / 486.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4367, allocations: 267 kB / 487.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.4498, allocations: 9.597 MB / 496.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.4515, allocations: 99.89 kB / 496.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.4517, allocations: 51.98 kB / 496.9 MB, free: 4.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001553/0.4533, allocations: 0.7412 MB / 497.7 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005932/0.4539, allocations: 214.6 kB / 497.9 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/0.4589, allocations: 2.494 MB / 0.4886 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.4589, allocations: 20 kB / 0.4887 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4589, allocations: 4 kB / 0.4887 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.459, allocations: 7.969 kB / 0.4887 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009913/0.4689, allocations: 4.966 MB / 0.4935 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.4689, allocations: 4 kB / 0.4935 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.47, allocations: 210.9 kB / 0.4937 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.4719, allocations: 0.6436 MB / 0.4944 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.4721, allocations: 37.72 kB / 0.4944 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.4822, allocations: 8.734 MB / 0.5029 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4823, allocations: 4.031 kB / 0.5029 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006922/0.4892, allocations: 3.547 MB / 0.5064 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.4905, allocations: 451.6 kB / 0.5068 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.4909, allocations: 31.98 kB / 0.5068 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.492, allocations: 87.84 kB / 0.5069 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.4924, allocations: 102.3 kB / 0.507 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.4925, allocations: 39.98 kB / 0.5071 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002411/0.4949, allocations: 1.536 MB / 0.5086 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4949, allocations: 3.375 kB / 0.5086 GB, free: 11.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002424/0.4974, allocations: 0.5274 MB / 0.5091 GB, free: 11.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008461/0.5058, allocations: 4.474 MB / 0.5135 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004817/0.5107, allocations: 2.395 MB / 0.5158 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5108, allocations: 0 / 0.5158 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/0.5136, allocations: 1.599 MB / 0.5174 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.5161, allocations: 459 kB / 0.5178 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/0.5547, allocations: 21.2 MB / 0.5385 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.5567, allocations: 1.963 MB / 0.5404 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001322/0.5581, allocations: 387.8 kB / 0.5408 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.5595, allocations: 0.9862 MB / 0.5417 GB, free: 9.648 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5595, allocations: 4 kB / 0.5418 GB, free: 9.645 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/0.6704, allocations: 51.35 MB / 0.5919 GB, free: 6.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.97/23.64, allocations: 22.7 kB / 0.5919 GB, free: 6.75 MB / 494.1 MB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.39581843605265] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 23.807132804999128 23.82085498 23.457787895 Calling exit ...