Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006881/0.006881, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9252/0.9252, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.382e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.1466/0.1466, allocations: 8.366 MB / 306.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.1523, allocations: 3.218 MB / 310 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1537, allocations: 54.56 kB / 310.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.1555, allocations: 0.7259 MB / 310.8 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.1583, allocations: 0.8762 MB / 311.7 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1594, allocations: 463.5 kB / 312.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003734/0.1632, allocations: 2.5 MB / 314.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1647, allocations: 0.9943 MB / 315.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003008/0.1677, allocations: 1.614 MB / 317.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.1701, allocations: 1.204 MB / 318.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009166/0.171, allocations: 283.8 kB / 318.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1722, allocations: 409.6 kB / 319.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007074/0.1729, allocations: 0.8341 MB / 320 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.1742, allocations: 0.8705 MB / 320.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.1775, allocations: 3.783 MB / 324.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1775, allocations: 4 kB / 324.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1776, allocations: 1.562 kB / 324.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.1777, allocations: 0 / 324.6 MB, free: 1.648 MB / 282.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.004666/0.1823, allocations: 2.629 MB / 327.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1824, allocations: 13.23 kB / 327.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003108/0.1827, allocations: 278.5 kB / 327.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/0.1833, allocations: 275.7 kB / 327.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.1854, allocations: 1.242 MB / 329.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1855, allocations: 150.2 kB / 329.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.1857, allocations: 185.6 kB / 329.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.1889, allocations: 2.535 MB / 331.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.1889, allocations: 15.03 kB / 331.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.1891, allocations: 76.05 kB / 332 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.1892, allocations: 98.95 kB / 332.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/0.1917, allocations: 1.979 MB / 334.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.1998, allocations: 6.61 MB / 340.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.201, allocations: 1.069 MB / 341.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009999/0.202, allocations: 0.8265 MB / 342.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.2022, allocations: 44.97 kB / 342.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007926/0.203, allocations: 0.784 MB / 343.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 3.457e-06/0.203, allocations: 3.938 kB / 343.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=121): time 0.009868/0.2129, allocations: 7.035 MB / 350.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.213, allocations: 192.9 kB / 350.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.2145, allocations: 1.434 MB / 352.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.2146, allocations: 49.7 kB / 352.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/0.2153, allocations: 0.9506 MB / 353.1 MB, free: 7.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.2155, allocations: 440.2 kB / 353.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.2158, allocations: 239.5 kB / 353.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2159, allocations: 365.9 kB / 354.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.2166, allocations: 0.6325 MB / 354.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/0.2175, allocations: 1.111 MB / 355.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.2191, allocations: 1.708 MB / 357.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.2191, allocations: 4 kB / 357.6 MB, free: 2.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003002/0.2221, allocations: 2.265 MB / 359.8 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2221, allocations: 8 kB / 359.8 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.2221, allocations: 12.86 kB / 359.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/0.2229, allocations: 0.4928 MB / 360.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.2236, allocations: 295.5 kB / 360.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/0.2284, allocations: 6.824 MB / 367.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2295, allocations: 95.92 kB / 367.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.2296, allocations: 56 kB / 367.6 MB, free: 8.406 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001214/0.2308, allocations: 0.6306 MB / 368.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.2311, allocations: 163 kB / 368.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.2335, allocations: 2.064 MB / 370.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2335, allocations: 12 kB / 370.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2335, allocations: 6.062 kB / 370.5 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2335, allocations: 7.969 kB / 370.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/0.2387, allocations: 4.195 MB / 374.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2387, allocations: 7.984 kB / 374.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.2392, allocations: 187.7 kB / 374.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/0.24, allocations: 0.547 MB / 375.4 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.24, allocations: 31.98 kB / 375.4 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.2452, allocations: 8.254 MB / 383.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2452, allocations: 7.938 kB / 383.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.2485, allocations: 3.017 MB / 386.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/0.2492, allocations: 306.8 kB / 387 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.2493, allocations: 32 kB / 387 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.2498, allocations: 71.92 kB / 387.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005019/0.2503, allocations: 108.8 kB / 387.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.2503, allocations: 39.98 kB / 387.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.2514, allocations: 0.9792 MB / 388.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2514, allocations: 0 / 388.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001308/0.2527, allocations: 455.9 kB / 388.7 MB, free: 2.609 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (106): * Single equations (assignments): 99 * 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.004008/0.2567, allocations: 3.984 MB / 392.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.2593, allocations: 2.03 MB / 394.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2593, allocations: 0 / 394.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.2608, allocations: 1.396 MB / 396.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.2622, allocations: 424.3 kB / 396.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/0.2825, allocations: 15.99 MB / 412.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/0.2834, allocations: 1.126 MB / 413.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008349/0.2843, allocations: 317 kB / 413.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.285, allocations: 0.7542 MB / 414.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.285, allocations: 0 / 414.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07185/0.3568, allocations: 44.51 MB / 459.2 MB, free: 11.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.717, allocations: 15.77 kB / 459.2 MB, free: 11.08 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.427135127596557] 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.844228124246001 9.007350234 8.826852855 Calling exit ...