Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0008114/0.0008114, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008732/0.0008732, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8988/0.8988, allocations: 177.2 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.381e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009953/0.009966, allocations: 8.482 MB / 333.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00687/0.01684, allocations: 3.439 MB / 336.5 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.01784, allocations: 63.62 kB / 336.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.0196, allocations: 0.7143 MB / 337.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.02186, allocations: 0.9316 MB / 338.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02288, allocations: 451 kB / 338.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.02559, allocations: 2.517 MB / 341.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.02661, allocations: 1.01 MB / 342.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.02833, allocations: 1.637 MB / 343.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.02965, allocations: 1.212 MB / 345 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.03001, allocations: 276 kB / 345.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.03055, allocations: 419.7 kB / 345.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.03109, allocations: 0.8296 MB / 346.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007892/0.03188, allocations: 0.8808 MB / 347.4 MB, free: 8.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.03444, allocations: 3.805 MB / 351.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.03444, allocations: 0 / 351.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.03444, allocations: 0 / 351.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.404e-05/0.0345, allocations: 0 / 351.2 MB, free: 5.148 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.003448/0.03795, allocations: 2.644 MB / 353.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.03799, allocations: 12.02 kB / 353.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.03825, allocations: 274.6 kB / 354.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.03875, allocations: 287.3 kB / 354.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.04026, allocations: 1.337 MB / 355.8 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.04033, allocations: 139.7 kB / 355.9 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.04053, allocations: 188 kB / 356.1 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.04325, allocations: 2.552 MB / 358.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.0433, allocations: 7.953 kB / 358.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.04342, allocations: 72 kB / 358.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/0.0435, allocations: 95.67 kB / 358.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.04594, allocations: 1.986 MB / 360.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006815/0.05275, allocations: 6.621 MB / 367.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.05394, allocations: 1.053 MB / 368.5 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.05491, allocations: 0.8187 MB / 369.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.05506, allocations: 52.89 kB / 369.3 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007799/0.05584, allocations: 0.7832 MB / 370.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.675e-06/0.05585, allocations: 0 / 370.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009294/0.06514, allocations: 6.831 MB / 377 MB, free: 10.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.06521, allocations: 171.2 kB / 377.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.06649, allocations: 1.462 MB / 378.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.06655, allocations: 45.7 kB / 378.6 MB, free: 9.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.06707, allocations: 0.9545 MB / 379.6 MB, free: 8.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.06732, allocations: 440.2 kB / 380 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.06757, allocations: 243.5 kB / 380.2 MB, free: 7.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.06767, allocations: 357.9 kB / 380.6 MB, free: 7.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.06836, allocations: 0.6441 MB / 381.2 MB, free: 6.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/0.06934, allocations: 1.106 MB / 382.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.07095, allocations: 1.707 MB / 384.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.07096, allocations: 0 / 384.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002387/0.07335, allocations: 2.273 MB / 386.3 MB, free: 1.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.07337, allocations: 8 kB / 386.3 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.07338, allocations: 8 kB / 386.3 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.07404, allocations: 0.4922 MB / 386.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.07467, allocations: 287.6 kB / 387.1 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.079, allocations: 6.826 MB / 393.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.07954, allocations: 103.8 kB / 394 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.0796, allocations: 51.94 kB / 394.1 MB, free: 9.047 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.0008775/0.08048, allocations: 0.6418 MB / 394.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.08063, allocations: 163 kB / 394.9 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.08278, allocations: 2.083 MB / 397 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.08278, allocations: 16 kB / 397 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.08279, allocations: 4 kB / 397 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.0828, allocations: 7.969 kB / 397 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.087, allocations: 4.113 MB / 401.1 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.08701, allocations: 4 kB / 401.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.08742, allocations: 199.6 kB / 401.3 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009264/0.08835, allocations: 0.5274 MB / 401.8 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.08841, allocations: 39.97 kB / 401.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/0.09365, allocations: 8.258 MB / 410.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.09365, allocations: 4.031 kB / 410.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.09728, allocations: 3.021 MB / 413.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.09796, allocations: 306.8 kB / 413.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.09817, allocations: 32 kB / 413.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/0.09888, allocations: 67.92 kB / 413.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/0.09917, allocations: 104.7 kB / 413.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.09923, allocations: 39.98 kB / 413.7 MB, free: 4.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001475/0.1007, allocations: 0.9913 MB / 414.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1007, allocations: 0 / 414.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001531/0.1022, allocations: 451.9 kB / 415.1 MB, free: 3.312 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.004848/0.1071, allocations: 3.982 MB / 419.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.1097, allocations: 2.042 MB / 421.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1097, allocations: 0 / 421.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.1112, allocations: 1.396 MB / 422.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.1128, allocations: 428 kB / 423 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.1328, allocations: 16 MB / 439 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.1338, allocations: 1.126 MB / 440.1 MB, free: 9.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008267/0.1347, allocations: 325 kB / 440.4 MB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.1354, allocations: 0.7503 MB / 441.2 MB, free: 8.727 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1354, allocations: 4 kB / 441.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1986/0.334, allocations: 44.72 MB / 485.9 MB, free: 87.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.667, allocations: 11.88 kB / 485.9 MB, free: 87.55 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.39720449410379] 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.792042471468449 8.797861191 8.7619826 Calling exit ...