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.001807/0.001807, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00234/0.00234, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001978/0.001978, allocations: 60.78 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2479, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01224/0.2601, allocations: 9.603 MB / 441.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007006/0.2671, allocations: 3.669 MB / 445.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.2683, allocations: 63.56 kB / 445.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.2701, allocations: 0.7727 MB / 446 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.2726, allocations: 0.8896 MB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2736, allocations: 459.1 kB / 447.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.2764, allocations: 2.424 MB / 449.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.2778, allocations: 1.06 MB / 450.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.2794, allocations: 1.133 MB / 452 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.2814, allocations: 1.436 MB / 453.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.2817, allocations: 280 kB / 453.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007542/0.2825, allocations: 427.8 kB / 454.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008128/0.2833, allocations: 0.818 MB / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.2846, allocations: 1.275 MB / 456.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.2887, allocations: 3.764 MB / 460 MB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2887, allocations: 0 / 460 MB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2887, allocations: 7.938 kB / 460 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.2887, allocations: 0 / 460 MB, free: 10.66 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.004926/0.2937, allocations: 2.667 MB / 462.7 MB, free: 7.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2937, allocations: 12.03 kB / 462.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003599/0.2941, allocations: 278.6 kB / 462.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/0.2948, allocations: 299.2 kB / 463.2 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.2973, allocations: 1.321 MB / 464.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2974, allocations: 143.7 kB / 464.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.2977, allocations: 192 kB / 464.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.3019, allocations: 2.44 MB / 467.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.3019, allocations: 11.89 kB / 467.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.3021, allocations: 79.98 kB / 467.4 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.3022, allocations: 95.67 kB / 467.5 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.3059, allocations: 1.978 MB / 469.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.3188, allocations: 7.203 MB / 476.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3207, allocations: 1.058 MB / 477.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.3222, allocations: 0.8109 MB / 478.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.3225, allocations: 56.89 kB / 478.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.3236, allocations: 0.6827 MB / 479.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.515e-06/0.3236, allocations: 0 / 479.3 MB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01613/0.3397, allocations: 6.832 MB / 486.1 MB, free: 120 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.3399, allocations: 179.2 kB / 486.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.3421, allocations: 1.427 MB / 487.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.3423, allocations: 49.7 kB / 487.8 MB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/0.3433, allocations: 0.9623 MB / 488.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/0.3438, allocations: 448.3 kB / 489.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.3443, allocations: 243.5 kB / 489.4 MB, free: 12.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3445, allocations: 357.9 kB / 489.8 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.3456, allocations: 0.6403 MB / 490.4 MB, free: 11.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.3472, allocations: 0.9975 MB / 491.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.3498, allocations: 1.711 MB / 493.1 MB, free: 8.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.3498, allocations: 4 kB / 493.1 MB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004376/0.3541, allocations: 2.261 MB / 495.4 MB, free: 6.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.3542, allocations: 18.8 kB / 495.4 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3542, allocations: 8 kB / 495.4 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3555, allocations: 492.2 kB / 495.9 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.3566, allocations: 295.5 kB / 496.2 MB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/0.3649, allocations: 6.88 MB / 0.4913 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.3664, allocations: 99.92 kB / 0.4914 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3665, allocations: 55.98 kB / 0.4914 GB, free: 14.3 MB / 414.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.001483/0.368, allocations: 0.6379 MB / 0.492 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/0.3684, allocations: 167 kB / 0.4922 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.3725, allocations: 2.06 MB / 0.4942 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.3725, allocations: 16 kB / 0.4942 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3726, allocations: 8 kB / 0.4942 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.3726, allocations: 7.969 kB / 0.4942 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008343/0.3809, allocations: 4.339 MB / 0.4985 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.3809, allocations: 7.984 kB / 0.4985 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008159/0.3817, allocations: 187.7 kB / 0.4987 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.3832, allocations: 0.5271 MB / 0.4992 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.3833, allocations: 39.97 kB / 0.4992 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009266/0.3925, allocations: 8.324 MB / 0.5073 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3925, allocations: 4.031 kB / 0.5073 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.3979, allocations: 3.013 MB / 0.5103 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/0.3988, allocations: 298.8 kB / 0.5106 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.399, allocations: 35.98 kB / 0.5106 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.3998, allocations: 63.94 kB / 0.5107 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.4001, allocations: 104.7 kB / 0.5108 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.4001, allocations: 39.98 kB / 0.5108 GB, free: 9.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001553/0.4017, allocations: 0.9835 MB / 0.5118 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4017, allocations: 7.938 kB / 0.5118 GB, free: 8.758 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4034, allocations: 455.9 kB / 0.5122 GB, free: 8.312 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.007302/0.4107, allocations: 3.936 MB / 0.5161 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.4147, allocations: 2.042 MB / 0.5181 GB, free: 2.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.4147, allocations: 4 kB / 0.5181 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.4172, allocations: 1.392 MB / 0.5194 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.4192, allocations: 431 kB / 0.5198 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/0.6637, allocations: 16.08 MB / 0.5355 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/0.666, allocations: 1.705 MB / 0.5372 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.6671, allocations: 326.2 kB / 0.5375 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/0.668, allocations: 0.7511 MB / 0.5382 GB, free: 101.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.668, allocations: 2.625 kB / 0.5382 GB, free: 101.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/0.7579, allocations: 42.95 MB / 0.5802 GB, free: 68.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.11, allocations: 7.547 kB / 0.5802 GB, free: 68.03 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.73533535702154] 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'] 14.295626517850906 14.31549175 14.022990941 Calling exit ...