Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001276/0.001276, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001342/0.001342, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.4/1.4, allocations: 230.5 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09914, allocations: 53.32 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.1985/0.2976, allocations: 9.552 MB / 436.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005164/0.3028, allocations: 3.648 MB / 440.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008832/0.3036, allocations: 48.38 kB / 440.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.3052, allocations: 0.7705 MB / 440.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.3071, allocations: 0.878 MB / 441.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.308, allocations: 456.4 kB / 442.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.3104, allocations: 2.426 MB / 444.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.3119, allocations: 1.298 MB / 446 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.3137, allocations: 1.108 MB / 447.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.3157, allocations: 1.436 MB / 448.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.3161, allocations: 279.3 kB / 448.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009399/0.317, allocations: 424.5 kB / 449.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000799/0.3178, allocations: 0.8089 MB / 450 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.3193, allocations: 1.285 MB / 451.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00468/0.324, allocations: 3.769 MB / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.324, allocations: 1.5 kB / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.324, allocations: 0 / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.573e-05/0.3241, allocations: 0 / 455.1 MB, free: 13.69 MB / 366.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.005665/0.3297, allocations: 2.74 MB / 457.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3298, allocations: 14 kB / 457.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003696/0.3301, allocations: 274.6 kB / 458.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.3309, allocations: 303.5 kB / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.3335, allocations: 1.397 MB / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3337, allocations: 142.8 kB / 459.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.3339, allocations: 187.7 kB / 460.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/0.3378, allocations: 2.437 MB / 462.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/0.3379, allocations: 12.78 kB / 462.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.3381, allocations: 85.12 kB / 462.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.3382, allocations: 98.98 kB / 462.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.3415, allocations: 1.984 MB / 464.7 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.3534, allocations: 7.332 MB / 472 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3553, allocations: 1.275 MB / 473.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.3568, allocations: 0.8221 MB / 474.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.357, allocations: 124.3 kB / 474.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.3581, allocations: 0.6885 MB / 475 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.715e-06/0.3581, allocations: 0 / 475 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01557/0.3737, allocations: 7.365 MB / 482.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3738, allocations: 167.2 kB / 482.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.3759, allocations: 1.431 MB / 483.9 MB, free: 7.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.916e-05/0.376, allocations: 45.7 kB / 484 MB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000948/0.377, allocations: 0.9662 MB / 484.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.3774, allocations: 436.3 kB / 485.3 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.3778, allocations: 247.5 kB / 485.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.378, allocations: 361.9 kB / 485.9 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.3791, allocations: 0.6325 MB / 486.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.3806, allocations: 1.005 MB / 487.6 MB, free: 3.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.3832, allocations: 1.711 MB / 489.3 MB, free: 1.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.3832, allocations: 4 kB / 489.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00418/0.3874, allocations: 2.353 MB / 491.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3874, allocations: 8 kB / 491.7 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3874, allocations: 8 kB / 491.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3886, allocations: 495.7 kB / 492.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.3897, allocations: 295.5 kB / 492.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.3975, allocations: 7.196 MB / 499.6 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.3989, allocations: 91.92 kB / 499.7 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.399, allocations: 63.98 kB / 499.8 MB, free: 6.727 MB / 398.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.001287/0.4003, allocations: 0.6269 MB / 0.4887 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.4007, allocations: 163 kB / 0.4888 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/0.405, allocations: 2.139 MB / 0.4909 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.405, allocations: 12 kB / 0.4909 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.405, allocations: 4 kB / 0.4909 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.405, allocations: 11.91 kB / 0.491 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/0.4141, allocations: 4.455 MB / 0.4953 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4141, allocations: 4 kB / 0.4953 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/0.4149, allocations: 192.1 kB / 0.4955 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.4163, allocations: 0.5348 MB / 0.496 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4164, allocations: 35.98 kB / 0.496 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009027/0.4255, allocations: 8.734 MB / 0.5046 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4255, allocations: 7.969 kB / 0.5046 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005655/0.4311, allocations: 3.081 MB / 0.5076 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4322, allocations: 379.9 kB / 0.508 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004508/0.4326, allocations: 32 kB / 0.508 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4337, allocations: 71.92 kB / 0.5081 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.4339, allocations: 100.7 kB / 0.5082 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.434, allocations: 36 kB / 0.5082 GB, free: 1.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.4357, allocations: 0.9874 MB / 0.5091 GB, free: 300 kB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4357, allocations: 0 / 0.5091 GB, free: 300 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001915/0.4377, allocations: 452 kB / 0.5096 GB, free: 15.85 MB / 430.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.006993/0.4447, allocations: 4.029 MB / 0.5135 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.4484, allocations: 2.18 MB / 0.5156 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4484, allocations: 0 / 0.5156 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.4508, allocations: 1.465 MB / 0.5171 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.4531, allocations: 431.7 kB / 0.5175 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/0.482, allocations: 16.22 MB / 0.5333 GB, free: 6.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/0.4839, allocations: 1.702 MB / 0.535 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.485, allocations: 332.9 kB / 0.5353 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.4861, allocations: 0.7531 MB / 0.536 GB, free: 4.098 MB / 446.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4861, allocations: 0 / 0.536 GB, free: 4.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/0.588, allocations: 41.87 MB / 0.5769 GB, free: 10.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.22, allocations: 15.66 kB / 0.5769 GB, free: 10.59 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.4789246651344] 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.381794094108045 13.395645984 13.068772885 Calling exit ...