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.001287/0.001287, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001413/0.001413, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001989/0.001989, allocations: 64.77 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2311, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01227/0.2433, allocations: 9.622 MB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.2502, allocations: 3.661 MB / 445.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2516, allocations: 63.62 kB / 445.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.2536, allocations: 0.7765 MB / 446 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.2561, allocations: 0.8857 MB / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2574, allocations: 463 kB / 447.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.2602, allocations: 2.428 MB / 449.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.2618, allocations: 1.057 MB / 450.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.2635, allocations: 1.129 MB / 452 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.2656, allocations: 1.436 MB / 453.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003629/0.2659, allocations: 284 kB / 453.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.2667, allocations: 427.7 kB / 454.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.2674, allocations: 0.8102 MB / 454.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.2687, allocations: 1.279 MB / 456.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.2725, allocations: 3.775 MB / 460 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2725, allocations: 0 / 460 MB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2725, allocations: 0 / 460 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.53e-05/0.2726, allocations: 0 / 460 MB, free: 10.64 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.004611/0.2772, allocations: 2.667 MB / 462.7 MB, free: 7.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2772, allocations: 8.031 kB / 462.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/0.2775, allocations: 278.6 kB / 462.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007264/0.2783, allocations: 291.3 kB / 463.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.2805, allocations: 1.333 MB / 464.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.2806, allocations: 139.7 kB / 464.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.2809, allocations: 195.9 kB / 464.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.2847, allocations: 2.44 MB / 467.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.2848, allocations: 7.953 kB / 467.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.285, allocations: 76 kB / 467.4 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.2851, allocations: 95.67 kB / 467.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.2883, allocations: 1.986 MB / 469.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2991, allocations: 7.203 MB / 476.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.3008, allocations: 1.054 MB / 477.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3023, allocations: 0.8109 MB / 478.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.3025, allocations: 56.83 kB / 478.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.3036, allocations: 0.6866 MB / 479.3 MB, free: 6.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.325e-06/0.3036, allocations: 0 / 479.3 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01592/0.3195, allocations: 6.825 MB / 486.1 MB, free: 108 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.3197, allocations: 179.2 kB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.3218, allocations: 1.431 MB / 487.7 MB, free: 14.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3219, allocations: 45.7 kB / 487.8 MB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.3228, allocations: 0.9662 MB / 488.7 MB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.3232, allocations: 444.3 kB / 489.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003813/0.3236, allocations: 247.5 kB / 489.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3237, allocations: 357.9 kB / 489.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3248, allocations: 0.6403 MB / 490.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.3261, allocations: 0.9975 MB / 491.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.3285, allocations: 1.707 MB / 493.1 MB, free: 8.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3285, allocations: 4 kB / 493.1 MB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003932/0.3324, allocations: 2.265 MB / 495.4 MB, free: 6.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3325, allocations: 8.25 kB / 495.4 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.3325, allocations: 19.94 kB / 495.4 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3336, allocations: 492 kB / 495.9 MB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3347, allocations: 299.5 kB / 496.2 MB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/0.3418, allocations: 6.888 MB / 0.4913 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3429, allocations: 91.88 kB / 0.4914 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.343, allocations: 55.98 kB / 0.4914 GB, free: 14.28 MB / 414.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.001031/0.3441, allocations: 0.6418 MB / 0.492 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.3443, allocations: 159 kB / 0.4922 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.348, allocations: 2.068 MB / 0.4942 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.348, allocations: 12 kB / 0.4942 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.348, allocations: 4 kB / 0.4942 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.348, allocations: 7.969 kB / 0.4942 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/0.3555, allocations: 4.338 MB / 0.4985 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3555, allocations: 0 / 0.4985 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.3563, allocations: 187.8 kB / 0.4987 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.3577, allocations: 0.5391 MB / 0.4992 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-05/0.3578, allocations: 35.98 kB / 0.4992 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008743/0.3665, allocations: 8.325 MB / 0.5073 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.3665, allocations: 7.938 kB / 0.5074 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.3715, allocations: 3.009 MB / 0.5103 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/0.3723, allocations: 294.8 kB / 0.5106 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.3725, allocations: 31.98 kB / 0.5106 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.3733, allocations: 67.94 kB / 0.5107 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.3735, allocations: 108.7 kB / 0.5108 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.3736, allocations: 36 kB / 0.5108 GB, free: 9.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.375, allocations: 0.9952 MB / 0.5118 GB, free: 8.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 0 / 0.5118 GB, free: 8.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001471/0.3765, allocations: 455.9 kB / 0.5122 GB, free: 8.293 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.007491/0.3839, allocations: 3.945 MB / 0.5161 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004902/0.3888, allocations: 2.038 MB / 0.5181 GB, free: 2.344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3889, allocations: 3.938 kB / 0.5181 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003088/0.3919, allocations: 1.396 MB / 0.5194 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.3947, allocations: 421.7 kB / 0.5198 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2163/0.6111, allocations: 16.09 MB / 0.5355 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.613, allocations: 1.702 MB / 0.5372 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009983/0.614, allocations: 326.8 kB / 0.5375 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.6148, allocations: 0.7499 MB / 0.5382 GB, free: 101.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6148, allocations: 1.156 kB / 0.5382 GB, free: 101.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/0.8525, allocations: 42.95 MB / 0.5802 GB, free: 67.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.94, allocations: 0 / 0.5802 GB, free: 67.77 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.383045974187553] 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'] 14.116131532005966 14.132275305 13.856393992 Calling exit ...