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_Conveyor.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.001327/0.001327, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001585/0.001585, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.066 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_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",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.002135/0.002135, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3238, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01843/0.3422, allocations: 14.21 MB / 446.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.3543, allocations: 5.245 MB / 451.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.3573, allocations: 103.4 kB / 451.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.3612, allocations: 1.165 MB / 452.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.3665, allocations: 1.453 MB / 454.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.3696, allocations: 1.015 MB / 455.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006919/0.3765, allocations: 4.131 MB / 459.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.3797, allocations: 1.805 MB / 461.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.3833, allocations: 1.986 MB / 463 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.3878, allocations: 2.328 MB / 465.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.3893, allocations: 0.5078 MB / 465.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.3916, allocations: 0.777 MB / 466.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.3931, allocations: 1.153 MB / 467.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003333/0.3964, allocations: 2.151 MB / 470 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.4067, allocations: 6.868 MB / 476.8 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4067, allocations: 0 / 476.8 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4067, allocations: 3.938 kB / 476.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.4069, allocations: 0 / 476.8 MB, free: 9.793 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01459/0.4215, allocations: 4.544 MB / 481.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4215, allocations: 12.03 kB / 481.4 MB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/0.4227, allocations: 455.7 kB / 481.8 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.4274, allocations: 0.83 MB / 482.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/0.4332, allocations: 2.443 MB / 485.1 MB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.4334, allocations: 234.4 kB / 485.3 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008512/0.4342, allocations: 319.9 kB / 485.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008414/0.4427, allocations: 4.3 MB / 489.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.257e-05/0.4427, allocations: 7.953 kB / 489.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.443, allocations: 132 kB / 490.1 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.4432, allocations: 158.4 kB / 490.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.4501, allocations: 3.629 MB / 493.9 MB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.4734, allocations: 13.05 MB / 0.495 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.4788, allocations: 2.722 MB / 0.4977 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.4817, allocations: 1.515 MB / 0.4992 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007416/0.4892, allocations: 3.839 MB / 0.5029 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.4906, allocations: 0.8727 MB / 0.5038 GB, free: 2.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.595e-06/0.4906, allocations: 0 / 0.5038 GB, free: 2.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01351/0.5041, allocations: 6.139 MB / 0.5098 GB, free: 12.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.5043, allocations: 218.9 kB / 0.51 GB, free: 11.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.5074, allocations: 1.94 MB / 0.5119 GB, free: 9.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.5075, allocations: 49.7 kB / 0.5119 GB, free: 9.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.5092, allocations: 1.533 MB / 0.5134 GB, free: 8.258 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/0.5097, allocations: 0.5036 MB / 0.5139 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.5102, allocations: 307.5 kB / 0.5142 GB, free: 7.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5103, allocations: 305.1 kB / 0.5145 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.5115, allocations: 0.6754 MB / 0.5152 GB, free: 6.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.5133, allocations: 1.225 MB / 0.5163 GB, free: 5.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.5164, allocations: 1.966 MB / 0.5183 GB, free: 2.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.5164, allocations: 7.938 kB / 0.5183 GB, free: 2.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004646/0.5211, allocations: 2.44 MB / 0.5207 GB, free: 392 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.5211, allocations: 12 kB / 0.5207 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.5211, allocations: 15.94 kB / 0.5207 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009233/0.522, allocations: 343.4 kB / 0.521 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5235, allocations: 375.4 kB / 0.5214 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00717/0.5306, allocations: 6.485 MB / 0.5277 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.5324, allocations: 95.91 kB / 0.5278 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.5326, allocations: 75.98 kB / 0.5279 GB, free: 8.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * 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 {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002009/0.5346, allocations: 1.032 MB / 0.5289 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.535, allocations: 218.6 kB / 0.5291 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.5393, allocations: 2.186 MB / 0.5312 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5393, allocations: 20 kB / 0.5312 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.5393, allocations: 8 kB / 0.5312 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.5393, allocations: 7.969 kB / 0.5313 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008814/0.5481, allocations: 5.027 MB / 0.5362 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5481, allocations: 0 / 0.5362 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2282/0.7764, allocations: 180 kB / 0.5363 GB, free: 98.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.7781, allocations: 0.4948 MB / 0.5368 GB, free: 98.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.7783, allocations: 40.38 kB / 0.5369 GB, free: 98.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/0.7877, allocations: 11.05 MB / 0.5476 GB, free: 90.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7877, allocations: 5.188 kB / 0.5477 GB, free: 90.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.7927, allocations: 3.086 MB / 0.5507 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.7937, allocations: 375.6 kB / 0.551 GB, free: 89.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.7939, allocations: 34.7 kB / 0.5511 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/0.7948, allocations: 62.88 kB / 0.5511 GB, free: 89.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.795, allocations: 113.2 kB / 0.5512 GB, free: 89.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.7951, allocations: 40.38 kB / 0.5513 GB, free: 89.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.7967, allocations: 1.332 MB / 0.5526 GB, free: 88.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7967, allocations: 0 / 0.5526 GB, free: 88.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00192/0.7986, allocations: 0.5943 MB / 0.5531 GB, free: 88.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00584/0.8045, allocations: 4.005 MB / 0.5571 GB, free: 86.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.8076, allocations: 2.082 MB / 0.5591 GB, free: 85.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8076, allocations: 6.359 kB / 0.5591 GB, free: 85.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.8096, allocations: 1.545 MB / 0.5606 GB, free: 84.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.8119, allocations: 0.5529 MB / 0.5611 GB, free: 84.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/0.8391, allocations: 20.21 MB / 0.5809 GB, free: 64.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/0.8417, allocations: 2.356 MB / 0.5832 GB, free: 62.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.8431, allocations: 409.1 kB / 0.5836 GB, free: 61.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/0.8445, allocations: 1.197 MB / 0.5847 GB, free: 60.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.8445, allocations: 0 / 0.5847 GB, free: 60.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.9582, allocations: 56.99 MB / 0.6404 GB, free: 4.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.72, allocations: 3.859 kB / 0.6404 GB, free: 4.16 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.csv --start-time 0 --stop-time 20 --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_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.40761596010998] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', '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', 'mass.s', 'mass.v', 'vfController.x'] 15.906442990060896 15.928856835 15.517416517 Calling exit ...