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.001562/0.001562, allocations: 121.4 kB / 17.74 MB, free: 5.203 MB / 14.72 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.001429/0.001429, allocations: 178.9 kB / 20.67 MB, free: 2.277 MB / 14.72 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 1.371/1.371, allocations: 222.9 MB / 246.4 MB, free: 4.32 MB / 190.1 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 0.001454/0.001454, allocations: 47.92 kB / 357.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1002, allocations: 49.44 MB / 406.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01181/0.1121, allocations: 9.461 MB / 416.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.1187, allocations: 3.463 MB / 419.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.12, allocations: 47.81 kB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.1221, allocations: 0.7145 MB / 420.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.1246, allocations: 0.8116 MB / 421.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1258, allocations: 474 kB / 421.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003108/0.1289, allocations: 2.405 MB / 424.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.1311, allocations: 1.774 MB / 426.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.1327, allocations: 1.098 MB / 427.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.1348, allocations: 1.386 MB / 428.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004758/0.1353, allocations: 276 kB / 428.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009003/0.1362, allocations: 411.8 kB / 429.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.1371, allocations: 0.7986 MB / 430 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1882/0.3253, allocations: 1.278 MB / 431.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004606/0.33, allocations: 3.74 MB / 435.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.33, allocations: 0 / 435.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.33, allocations: 0 / 435.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001411/0.3302, allocations: 0 / 435.1 MB, free: 7.992 MB / 350.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.005931/0.3361, allocations: 2.731 MB / 437.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3362, allocations: 12.06 kB / 437.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000396/0.3366, allocations: 277.2 kB / 438.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.3373, allocations: 281.8 kB / 438.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.3396, allocations: 1.398 MB / 439.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3397, allocations: 136.6 kB / 439.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.34, allocations: 193.1 kB / 440.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/0.344, allocations: 2.44 MB / 442.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/0.3441, allocations: 7.828 kB / 442.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.3443, allocations: 79.7 kB / 442.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.3444, allocations: 96.2 kB / 442.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003043/0.3475, allocations: 1.987 MB / 444.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009519/0.357, allocations: 7.334 MB / 452 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.3586, allocations: 1.357 MB / 453.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.36, allocations: 0.8722 MB / 454.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.3602, allocations: 116.6 kB / 454.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/0.3611, allocations: 0.6948 MB / 455 MB, free: 2.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.444e-06/0.3611, allocations: 0 / 455 MB, free: 2.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01468/0.3758, allocations: 7.379 MB / 462.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.3759, allocations: 167.6 kB / 462.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.3779, allocations: 1.42 MB / 464 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.378, allocations: 47.3 kB / 464.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008945/0.3789, allocations: 0.951 MB / 465 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.3793, allocations: 446.2 kB / 465.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.3797, allocations: 248.4 kB / 465.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3799, allocations: 361.3 kB / 466 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/0.3808, allocations: 0.6386 MB / 466.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.3821, allocations: 1.001 MB / 467.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.3843, allocations: 1.706 MB / 469.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3843, allocations: 2.938 kB / 469.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004059/0.3884, allocations: 2.355 MB / 471.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3884, allocations: 12 kB / 471.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3885, allocations: 8 kB / 471.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.3897, allocations: 498.2 kB / 472.2 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.3908, allocations: 297.2 kB / 472.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007804/0.3986, allocations: 7.187 MB / 479.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4001, allocations: 91.92 kB / 479.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.4002, allocations: 56 kB / 479.9 MB, free: 14.72 MB / 382.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.001308/0.4016, allocations: 0.6399 MB / 480.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.4019, allocations: 159 kB / 480.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.406, allocations: 2.152 MB / 482.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.406, allocations: 12 kB / 482.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.406, allocations: 4 kB / 482.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.406, allocations: 9.906 kB / 482.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.4142, allocations: 4.456 MB / 487.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4143, allocations: 4 kB / 487.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.4151, allocations: 192.6 kB / 487.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.4166, allocations: 0.5415 MB / 488 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/0.4167, allocations: 31.98 kB / 488.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00918/0.4259, allocations: 8.74 MB / 496.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.4259, allocations: 6.625 kB / 496.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.4312, allocations: 3.09 MB / 499.9 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/0.4321, allocations: 375.9 kB / 0.4885 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/0.4324, allocations: 35.98 kB / 0.4886 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007922/0.4332, allocations: 67.92 kB / 0.4886 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.4334, allocations: 95.62 kB / 0.4887 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.4335, allocations: 39.98 kB / 0.4888 GB, free: 9.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.435, allocations: 0.9792 MB / 0.4897 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.435, allocations: 0 / 0.4897 GB, free: 8.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001598/0.4366, allocations: 451.9 kB / 0.4902 GB, free: 8.016 MB / 398.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.006887/0.4435, allocations: 4.046 MB / 0.4941 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.4474, allocations: 2.248 MB / 0.4963 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.4475, allocations: 4 kB / 0.4963 GB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.4499, allocations: 1.513 MB / 0.4978 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4522, allocations: 428.9 kB / 0.4982 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/0.4798, allocations: 16.19 MB / 0.514 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.4815, allocations: 1.706 MB / 0.5157 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009912/0.4825, allocations: 324.9 kB / 0.516 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.4835, allocations: 0.7375 MB / 0.5167 GB, free: 12.42 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4835, allocations: 0 / 0.5167 GB, free: 12.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09202/0.5755, allocations: 41.36 MB / 0.5571 GB, free: 3.473 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.3, allocations: 11.02 kB / 0.5571 GB, free: 3.465 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 16.671255162917078] 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'] 13.463359489804134 13.48981766 13.155119409 Calling exit ...