Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008397/0.0008397, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9092/0.9092, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_4_0_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_0_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.413e-06/1.413e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.639e-05, allocations: 2.281 kB / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.00687/0.006886, allocations: 8.412 MB / 326.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004813/0.0117, allocations: 3.268 MB / 330.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.01328, allocations: 71.5 kB / 330.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.01511, allocations: 0.7183 MB / 330.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003233/0.01835, allocations: 0.8849 MB / 331.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.01952, allocations: 486.3 kB / 332.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003078/0.0226, allocations: 2.493 MB / 334.8 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.02385, allocations: 1.01 MB / 335.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.02586, allocations: 1.618 MB / 337.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.02729, allocations: 1.208 MB / 338.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.02777, allocations: 280 kB / 338.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.02835, allocations: 411.6 kB / 339.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.02888, allocations: 0.8296 MB / 340.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009659/0.02985, allocations: 0.8769 MB / 341 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.03258, allocations: 3.774 MB / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03258, allocations: 0 / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03258, allocations: 4 kB / 344.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.43e-05/0.03267, allocations: 0 / 344.8 MB, free: 11.88 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.003768/0.03644, allocations: 2.632 MB / 347.4 MB, free: 9.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.03649, allocations: 12.92 kB / 347.4 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.03674, allocations: 274.6 kB / 347.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004757/0.03722, allocations: 283.3 kB / 348 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.03886, allocations: 1.317 MB / 349.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-05/0.03893, allocations: 143.7 kB / 349.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.03913, allocations: 188 kB / 349.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.04196, allocations: 2.548 MB / 352.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/0.042, allocations: 8 kB / 352.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.04212, allocations: 75.98 kB / 352.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-05/0.04219, allocations: 99.67 kB / 352.3 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.04445, allocations: 1.978 MB / 354.3 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.05194, allocations: 6.609 MB / 360.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.05321, allocations: 1.06 MB / 362 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009768/0.05419, allocations: 0.8225 MB / 362.8 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.05434, allocations: 48.91 kB / 362.8 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007652/0.05511, allocations: 0.787 MB / 363.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.494e-06/0.05511, allocations: 0 / 363.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.01038/0.06549, allocations: 6.831 MB / 370.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.06557, allocations: 167.2 kB / 370.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.0673, allocations: 1.442 MB / 372.1 MB, free: 56 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.06738, allocations: 49.7 kB / 372.1 MB, free: 0 / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/0.06797, allocations: 0.9544 MB / 373.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.06822, allocations: 436.3 kB / 373.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.06847, allocations: 243.5 kB / 373.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.06858, allocations: 365.8 kB / 374.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/0.06926, allocations: 0.6364 MB / 374.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.07012, allocations: 1.102 MB / 375.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.07177, allocations: 1.711 MB / 377.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.07178, allocations: 4 kB / 377.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002688/0.07447, allocations: 2.265 MB / 379.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.0745, allocations: 15.98 kB / 379.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.07452, allocations: 8 kB / 379.8 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/0.07528, allocations: 495.9 kB / 380.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.07588, allocations: 295.5 kB / 380.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.08056, allocations: 6.825 MB / 387.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/0.08151, allocations: 88.03 kB / 387.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.08159, allocations: 60 kB / 387.6 MB, free: 15.84 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.0009906/0.08258, allocations: 0.6495 MB / 388.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.08283, allocations: 159 kB / 388.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.08517, allocations: 2.083 MB / 390.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.08518, allocations: 12 kB / 390.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.08519, allocations: 8 kB / 390.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.0852, allocations: 7.969 kB / 390.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.08986, allocations: 4.105 MB / 394.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.08986, allocations: 4 kB / 394.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.09029, allocations: 195.7 kB / 394.8 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.09109, allocations: 0.5272 MB / 395.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.071e-05/0.09117, allocations: 31.98 kB / 395.3 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.0964, allocations: 8.284 MB / 403.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.0964, allocations: 4 kB / 403.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.09963, allocations: 3.009 MB / 406.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.1002, allocations: 302.8 kB / 406.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.1003, allocations: 35.98 kB / 407 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.1007, allocations: 67.92 kB / 407 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.1009, allocations: 100.8 kB / 407.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.101, allocations: 39.98 kB / 407.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.102, allocations: 0.9753 MB / 408.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.102, allocations: 0 / 408.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001124/0.1031, allocations: 459.9 kB / 408.6 MB, free: 10.12 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.003897/0.107, allocations: 3.983 MB / 412.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.1093, allocations: 2.038 MB / 414.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1093, allocations: 4.062 kB / 414.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.1106, allocations: 1.384 MB / 416 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.1118, allocations: 427.1 kB / 416.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.131, allocations: 15.95 MB / 432.4 MB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/0.1319, allocations: 1.13 MB / 433.5 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006938/0.1326, allocations: 324.9 kB / 433.8 MB, free: 348 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/0.1333, allocations: 0.7464 MB / 434.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/0.1333, allocations: 0 / 434.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/0.3418, allocations: 44.49 MB / 479.1 MB, free: 99.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.752, allocations: 7.062 kB / 479.1 MB, free: 99.95 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.582386087626219] 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.877127926796675 8.889691309 8.854991164 Calling exit ...