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.001863/0.001863, allocations: 120 kB / 18.5 MB, free: 4.52 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.002163/0.002163, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.493/1.493, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.002055/0.002055, allocations: 76.05 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 53.33 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2472/0.3623, allocations: 14.14 MB / 441.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3725, allocations: 5.221 MB / 446.4 MB, free: 156 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00327/0.3758, allocations: 103.3 kB / 446.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003957/0.3797, allocations: 1.167 MB / 447.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006664/0.3864, allocations: 1.43 MB / 449.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.3902, allocations: 1.002 MB / 450.1 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008177/0.3983, allocations: 4.117 MB / 454.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/0.4024, allocations: 2.27 MB / 456.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.4069, allocations: 1.977 MB / 458.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005542/0.4124, allocations: 2.328 MB / 460.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.4143, allocations: 0.5088 MB / 461.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.4175, allocations: 0.7722 MB / 462.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.4195, allocations: 1.154 MB / 463.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007829/0.4273, allocations: 2.153 MB / 465.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.4398, allocations: 6.871 MB / 472.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4398, allocations: 0 / 472.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4398, allocations: 0 / 472.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002778/0.4401, allocations: 0 / 472.2 MB, free: 1.301 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01591/0.456, allocations: 4.617 MB / 476.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.919e-05/0.4561, allocations: 9.75 kB / 476.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.4574, allocations: 461.4 kB / 477.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.4628, allocations: 0.8288 MB / 478.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006632/0.4694, allocations: 2.499 MB / 480.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4697, allocations: 238.4 kB / 480.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009082/0.4706, allocations: 326 kB / 481.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/0.479, allocations: 4.296 MB / 485.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-05/0.4791, allocations: 3.953 kB / 485.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.4794, allocations: 132 kB / 485.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.4795, allocations: 154.4 kB / 485.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006739/0.4863, allocations: 3.639 MB / 489.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/0.5092, allocations: 13.37 MB / 0.491 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/0.517, allocations: 7.1 MB / 0.4979 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/0.5202, allocations: 1.526 MB / 0.4994 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007713/0.5279, allocations: 4.334 MB / 0.5037 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.5293, allocations: 0.8766 MB / 0.5045 GB, free: 5.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.715e-06/0.5293, allocations: 0 / 0.5045 GB, free: 5.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0141/0.5434, allocations: 6.741 MB / 0.5111 GB, free: 14.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.5436, allocations: 222.9 kB / 0.5113 GB, free: 14.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/0.5467, allocations: 1.932 MB / 0.5132 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.5468, allocations: 53.7 kB / 0.5132 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.5484, allocations: 1.537 MB / 0.5147 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004942/0.5489, allocations: 0.4997 MB / 0.5152 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.5494, allocations: 311.5 kB / 0.5155 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5495, allocations: 301.1 kB / 0.5158 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.5507, allocations: 0.6754 MB / 0.5165 GB, free: 9.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.5524, allocations: 1.236 MB / 0.5177 GB, free: 7.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.5552, allocations: 1.959 MB / 0.5196 GB, free: 5.449 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.5553, allocations: 4 kB / 0.5196 GB, free: 5.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004529/0.5598, allocations: 2.523 MB / 0.5221 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.5598, allocations: 12 kB / 0.5221 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.5598, allocations: 19.98 kB / 0.5221 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009129/0.5608, allocations: 331.4 kB / 0.5224 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5621, allocations: 379.3 kB / 0.5228 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007212/0.5694, allocations: 6.788 MB / 0.5294 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.5712, allocations: 95.97 kB / 0.5295 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.5713, allocations: 80.05 kB / 0.5296 GB, free: 10.76 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.001998/0.5733, allocations: 1.037 MB / 0.5306 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/0.5738, allocations: 218.6 kB / 0.5308 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.5781, allocations: 2.321 MB / 0.5331 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.5781, allocations: 20 kB / 0.5331 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.5781, allocations: 8 kB / 0.5331 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5782, allocations: 3.984 kB / 0.5331 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/0.587, allocations: 5.217 MB / 0.5382 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.587, allocations: 0 / 0.5382 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.5878, allocations: 183.7 kB / 0.5384 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.5892, allocations: 0.4953 MB / 0.5388 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5893, allocations: 35.98 kB / 0.5389 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.6024, allocations: 11.59 MB / 0.5502 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6024, allocations: 4.031 kB / 0.5502 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.6083, allocations: 3.237 MB / 0.5534 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.6094, allocations: 447.6 kB / 0.5538 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6096, allocations: 36 kB / 0.5538 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.6105, allocations: 59.95 kB / 0.5539 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.6108, allocations: 101.2 kB / 0.554 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.6109, allocations: 43.98 kB / 0.554 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002151/0.613, allocations: 1.339 MB / 0.5553 GB, free: 15.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.613, allocations: 0 / 0.5553 GB, free: 15.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002485/0.6155, allocations: 0.5859 MB / 0.5559 GB, free: 14.74 MB / 478.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.007416/0.6229, allocations: 4.166 MB / 0.56 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.627, allocations: 2.163 MB / 0.5621 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.627, allocations: 448 / 0.5621 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.6296, allocations: 1.539 MB / 0.5636 GB, free: 6.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.6323, allocations: 0.5549 MB / 0.5641 GB, free: 6.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03562/0.668, allocations: 20.33 MB / 0.584 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/0.6705, allocations: 2.364 MB / 0.5863 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001473/0.672, allocations: 405.2 kB / 0.5867 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.6737, allocations: 1.194 MB / 0.5878 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.6737, allocations: 0 / 0.5878 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4121/1.086, allocations: 55.67 MB / 0.6422 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.74, allocations: 7.375 kB / 0.6422 GB, free: 164.9 MB / 0.5137 GB " [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.3497951971367] 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.9207097068429 15.938592882 15.495049803 Calling exit ...