Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00105/0.00105, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009419/0.0009419, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8632/0.8632, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.777e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01026/0.01029, allocations: 8.473 MB / 333 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.01485, allocations: 3.435 MB / 336.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007026/0.01555, allocations: 63.56 kB / 336.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.01683, allocations: 0.7221 MB / 337.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.01843, allocations: 0.9238 MB / 338.2 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.01921, allocations: 466.8 kB / 338.6 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.02087, allocations: 2.507 MB / 341.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009303/0.02181, allocations: 1.01 MB / 342.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.02317, allocations: 1.629 MB / 343.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.02423, allocations: 1.212 MB / 345 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.02444, allocations: 280 kB / 345.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.02492, allocations: 431.6 kB / 345.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.02543, allocations: 0.8257 MB / 346.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.02603, allocations: 0.8769 MB / 347.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.02857, allocations: 3.794 MB / 351.2 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.02857, allocations: 4 kB / 351.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02858, allocations: 0 / 351.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.0286, allocations: 0 / 351.2 MB, free: 5.117 MB / 314.7 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.002968/0.03157, allocations: 2.651 MB / 353.8 MB, free: 2.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.03161, allocations: 11.98 kB / 353.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/0.03184, allocations: 282.6 kB / 354.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.0323, allocations: 291.3 kB / 354.4 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.03378, allocations: 1.325 MB / 355.7 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.03386, allocations: 147.8 kB / 355.9 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.03406, allocations: 184 kB / 356 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.0366, allocations: 2.544 MB / 358.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.03664, allocations: 7.953 kB / 358.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.03676, allocations: 79.98 kB / 358.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/0.03682, allocations: 95.67 kB / 358.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.03893, allocations: 1.974 MB / 360.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/0.04534, allocations: 6.621 MB / 367.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.04647, allocations: 1.061 MB / 368.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/0.04741, allocations: 0.8225 MB / 369.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.04755, allocations: 40.97 kB / 369.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007178/0.04826, allocations: 0.787 MB / 370.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.154e-06/0.04827, allocations: 0 / 370.1 MB, free: 1.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009045/0.05731, allocations: 6.846 MB / 376.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.05738, allocations: 175.2 kB / 377.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.05864, allocations: 1.447 MB / 378.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.0587, allocations: 53.69 kB / 378.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.05923, allocations: 0.9545 MB / 379.5 MB, free: 8.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/0.05971, allocations: 440.2 kB / 380 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.05995, allocations: 243.5 kB / 380.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.06004, allocations: 361.9 kB / 380.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.06067, allocations: 0.6403 MB / 381.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.06149, allocations: 1.11 MB / 382.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.06294, allocations: 1.703 MB / 384 MB, free: 3.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.06295, allocations: 4 kB / 384 MB, free: 3.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002243/0.06519, allocations: 2.265 MB / 386.3 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.06521, allocations: 12 kB / 386.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.06522, allocations: 8 kB / 386.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/0.06587, allocations: 496.2 kB / 386.8 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.06668, allocations: 299.5 kB / 387.1 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.0709, allocations: 6.814 MB / 393.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.07141, allocations: 103.9 kB / 394 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.07175, allocations: 52 kB / 394 MB, free: 9.012 MB / 362.7 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.0006524/0.0724, allocations: 0.6408 MB / 394.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.07254, allocations: 163 kB / 394.8 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.07466, allocations: 2.091 MB / 396.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.07467, allocations: 12 kB / 396.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.07467, allocations: 4 kB / 396.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.07468, allocations: 7.969 kB / 397 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.07875, allocations: 4.105 MB / 401.1 MB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.07876, allocations: 4 kB / 401.1 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.07946, allocations: 191.8 kB / 401.3 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007327/0.08019, allocations: 0.5353 MB / 401.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.08025, allocations: 43.91 kB / 401.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.08518, allocations: 8.268 MB / 410.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.08518, allocations: 7.938 kB / 410.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.08799, allocations: 3.017 MB / 413.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.08838, allocations: 302.8 kB / 413.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.08849, allocations: 28 kB / 413.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.08888, allocations: 67.92 kB / 413.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.08902, allocations: 108.7 kB / 413.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.08907, allocations: 39.98 kB / 413.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008534/0.08992, allocations: 0.9913 MB / 414.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08992, allocations: 0 / 414.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000915/0.09084, allocations: 451.9 kB / 415.1 MB, free: 3.277 MB / 378.7 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 (105): * Single equations (assignments): 98 * 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.003822/0.09466, allocations: 3.978 MB / 419.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.0968, allocations: 2.037 MB / 421.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.0968, allocations: 5.938 kB / 421.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.09818, allocations: 1.392 MB / 422.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.09967, allocations: 424 kB / 422.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.1164, allocations: 16 MB / 438.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.1172, allocations: 1.13 MB / 440 MB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005613/0.1178, allocations: 321 kB / 440.4 MB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.1184, allocations: 0.7503 MB / 441.1 MB, free: 8.672 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1184, allocations: 7.938 kB / 441.1 MB, free: 8.664 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1809/0.2993, allocations: 44.7 MB / 485.8 MB, free: 87.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.427, allocations: 4 kB / 485.8 MB, free: 87.59 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.124373431317508] 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'] 8.548440427519381 8.553943532 8.524030718 Calling exit ...