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_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.001321/0.001321, allocations: 121.4 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.001346/0.001346, 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.423/1.423, 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_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.001971/0.001971, allocations: 79.81 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.108, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.2184/0.3264, allocations: 9.545 MB / 436.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.3323, allocations: 3.657 MB / 440.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.3337, allocations: 62.69 kB / 440.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.3355, allocations: 0.767 MB / 441.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.3377, allocations: 0.8746 MB / 441.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3388, allocations: 459.3 kB / 442.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.3415, allocations: 2.429 MB / 444.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.3431, allocations: 1.299 MB / 446.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.3449, allocations: 1.13 MB / 447.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.3468, allocations: 1.435 MB / 448.7 MB, free: 492 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.3472, allocations: 279.2 kB / 448.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009556/0.3481, allocations: 424.3 kB / 449.4 MB, free: 448 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.3489, allocations: 0.8126 MB / 450.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3504, allocations: 1.286 MB / 451.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.3556, allocations: 3.765 MB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3556, allocations: 0 / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3556, allocations: 1.375 kB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.112e-05/0.3557, allocations: 0 / 455.2 MB, free: 13.59 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006682/0.3624, allocations: 2.742 MB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3625, allocations: 9.344 kB / 458 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005034/0.363, allocations: 282.8 kB / 458.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.364, allocations: 305.5 kB / 458.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.3666, allocations: 1.405 MB / 460 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3668, allocations: 139.9 kB / 460.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003088/0.3671, allocations: 187.2 kB / 460.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.3717, allocations: 2.441 MB / 462.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.3717, allocations: 11.11 kB / 462.7 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.3719, allocations: 76.25 kB / 462.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.372, allocations: 95.23 kB / 462.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/0.3758, allocations: 1.983 MB / 464.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.388, allocations: 7.335 MB / 472.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3898, allocations: 1.273 MB / 473.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3913, allocations: 0.823 MB / 474.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.3916, allocations: 120.3 kB / 474.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.3926, allocations: 0.6846 MB / 475.1 MB, free: 484 kB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.3926, allocations: 1.406 kB / 475.1 MB, free: 484 kB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01714/0.4098, allocations: 7.371 MB / 482.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.4099, allocations: 175.1 kB / 482.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4121, allocations: 1.431 MB / 484.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4122, allocations: 45.7 kB / 484.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.4131, allocations: 0.9623 MB / 485.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.4135, allocations: 440.3 kB / 485.5 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.4139, allocations: 247.5 kB / 485.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4141, allocations: 361.9 kB / 486.1 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4151, allocations: 0.6372 MB / 486.8 MB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4165, allocations: 1.001 MB / 487.8 MB, free: 3.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.4189, allocations: 1.707 MB / 489.5 MB, free: 1.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.419, allocations: 4 kB / 489.5 MB, free: 1.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004057/0.423, allocations: 2.344 MB / 491.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.423, allocations: 12 kB / 491.8 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.4231, allocations: 8 kB / 491.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.4242, allocations: 492.1 kB / 492.3 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4254, allocations: 299.5 kB / 492.6 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/0.4329, allocations: 7.194 MB / 499.8 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.4343, allocations: 99.86 kB / 499.9 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4344, allocations: 59.98 kB / 500 MB, free: 6.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001311/0.4357, allocations: 0.6301 MB / 0.4888 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.4361, allocations: 159 kB / 0.489 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.4401, allocations: 2.139 MB / 0.4911 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.4401, allocations: 15.98 kB / 0.4911 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4401, allocations: 4 kB / 0.4911 GB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.4401, allocations: 7.984 kB / 0.4911 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008175/0.4483, allocations: 4.45 MB / 0.4955 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.4483, allocations: 11.97 kB / 0.4955 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.4491, allocations: 187.7 kB / 0.4957 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.4506, allocations: 0.5271 MB / 0.4962 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/0.4507, allocations: 35.98 kB / 0.4962 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009312/0.46, allocations: 8.735 MB / 0.5047 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.46, allocations: 4 kB / 0.5047 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.4655, allocations: 3.09 MB / 0.5078 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/0.4664, allocations: 375.9 kB / 0.5081 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.4666, allocations: 31.98 kB / 0.5081 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.4675, allocations: 67.94 kB / 0.5082 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.4677, allocations: 104.7 kB / 0.5083 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/0.4678, allocations: 39.98 kB / 0.5083 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.4693, allocations: 0.9796 MB / 0.5093 GB, free: 200 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4693, allocations: 0 / 0.5093 GB, free: 200 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001727/0.4711, allocations: 456 kB / 0.5097 GB, free: 15.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00695/0.478, allocations: 4.028 MB / 0.5137 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.4819, allocations: 2.181 MB / 0.5158 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4819, allocations: 0 / 0.5158 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.4844, allocations: 1.467 MB / 0.5172 GB, free: 7.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.4866, allocations: 439.5 kB / 0.5177 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/0.5139, allocations: 16.21 MB / 0.5335 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.5156, allocations: 1.706 MB / 0.5352 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.5166, allocations: 325 kB / 0.5355 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.5177, allocations: 0.7531 MB / 0.5362 GB, free: 3.984 MB / 446.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5177, allocations: 0 / 0.5362 GB, free: 3.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/0.619, allocations: 41.88 MB / 0.5771 GB, free: 10.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.23, allocations: 18.62 kB / 0.5771 GB, free: 10.46 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.72143839392811] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'mass.s', 'mass.v', 'vfController.x'] 13.38919036788866 13.413712809 13.05306071 Calling exit ...