Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.001073/0.001073, allocations: 116 kB / 21.19 MB, free: 4.809 MB / 13.93 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.00118/0.00118, allocations: 217.3 kB / 24.48 MB, free: 1.523 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.045/1.045, allocations: 230.6 MB / 258.2 MB, free: 3.113 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 47.71 MB / 362.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 103.8 kB / 0.4977 GB, free: 3.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.343, allocations: 66.22 MB / 0.5624 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009106/0.3521, allocations: 8.516 MB / 0.5707 GB, free: 5.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.3582, allocations: 3.445 MB / 0.5741 GB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.3596, allocations: 63.56 kB / 0.5742 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.3615, allocations: 0.7301 MB / 0.5749 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.3638, allocations: 0.8858 MB / 0.5757 GB, free: 15.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.3647, allocations: 459.1 kB / 0.5762 GB, free: 15.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.3672, allocations: 2.443 MB / 0.5786 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.3683, allocations: 1.006 MB / 0.5795 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.3699, allocations: 1.141 MB / 0.5807 GB, free: 10.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.372, allocations: 1.343 MB / 0.582 GB, free: 9.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.3726, allocations: 280 kB / 0.5822 GB, free: 9.258 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.3734, allocations: 415.8 kB / 0.5826 GB, free: 8.852 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006559/0.3741, allocations: 0.8258 MB / 0.5834 GB, free: 8.023 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.3755, allocations: 1.035 MB / 0.5844 GB, free: 6.984 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.3788, allocations: 3.783 MB / 0.5881 GB, free: 3.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3788, allocations: 0 / 0.5881 GB, free: 3.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3788, allocations: 0 / 0.5881 GB, free: 3.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.883e-05/0.3789, allocations: 0 / 0.5881 GB, free: 3.188 MB / 426.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.004335/0.3832, allocations: 2.675 MB / 0.5908 GB, free: 484 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3833, allocations: 16.03 kB / 0.5908 GB, free: 468 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.3838, allocations: 295.2 kB / 0.591 GB, free: 172 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.3855, allocations: 1.329 MB / 0.5923 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.743e-05/0.3856, allocations: 139.7 kB / 0.5925 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3858, allocations: 195.9 kB / 0.5927 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.3886, allocations: 2.536 MB / 0.5951 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.3886, allocations: 3.984 kB / 0.5951 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.3888, allocations: 80 kB / 0.5952 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/0.3888, allocations: 87.69 kB / 0.5953 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.3913, allocations: 1.994 MB / 0.5973 GB, free: 9.711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007423/0.3987, allocations: 6.328 MB / 0.6034 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.4, allocations: 1.06 MB / 0.6045 GB, free: 2.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009864/0.401, allocations: 0.8303 MB / 0.6053 GB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.4011, allocations: 46.72 kB / 0.6053 GB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007757/0.4019, allocations: 0.7793 MB / 0.6061 GB, free: 432 kB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 2.595e-06/0.4019, allocations: 3.938 kB / 0.6061 GB, free: 428 kB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.01041/0.4123, allocations: 6.825 MB / 0.6128 GB, free: 9.535 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4124, allocations: 167.2 kB / 0.6129 GB, free: 9.336 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.4139, allocations: 1.282 MB / 0.6142 GB, free: 8.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.414, allocations: 49.7 kB / 0.6142 GB, free: 7.988 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007005/0.4147, allocations: 0.977 MB / 0.6152 GB, free: 7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.415, allocations: 444.2 kB / 0.6156 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.4152, allocations: 247.5 kB / 0.6158 GB, free: 6.312 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4154, allocations: 365.9 kB / 0.6162 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.416, allocations: 0.6364 MB / 0.6168 GB, free: 5.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4171, allocations: 1.102 MB / 0.6179 GB, free: 4.043 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.4187, allocations: 1.711 MB / 0.6195 GB, free: 2.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4188, allocations: 4 kB / 0.6195 GB, free: 2.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002735/0.4215, allocations: 2.257 MB / 0.6218 GB, free: 15.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4215, allocations: 8 kB / 0.6218 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4215, allocations: 8 kB / 0.6218 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007858/0.4223, allocations: 0.4884 MB / 0.6222 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.4229, allocations: 299.5 kB / 0.6225 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.4276, allocations: 6.753 MB / 0.6291 GB, free: 8.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/0.4285, allocations: 99.92 kB / 0.6292 GB, free: 7.953 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.4286, allocations: 51.98 kB / 0.6293 GB, free: 7.902 MB / 474.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.0014/0.43, allocations: 0.6417 MB / 0.6299 GB, free: 7.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.4302, allocations: 147.1 kB / 0.63 GB, free: 7.105 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.4332, allocations: 2.062 MB / 0.632 GB, free: 5.016 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4332, allocations: 15.94 kB / 0.6321 GB, free: 5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.4332, allocations: 8 kB / 0.6321 GB, free: 4.992 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4332, allocations: 7.969 kB / 0.6321 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.438, allocations: 3.877 MB / 0.6359 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.438, allocations: 4 kB / 0.6359 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.4384, allocations: 196.1 kB / 0.6361 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008086/0.4392, allocations: 0.5309 MB / 0.6366 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.4393, allocations: 35.98 kB / 0.6366 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.4447, allocations: 8.181 MB / 0.6446 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4447, allocations: 0 / 0.6446 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.4482, allocations: 3.009 MB / 0.6475 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/0.4489, allocations: 282.9 kB / 0.6478 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.449, allocations: 31.98 kB / 0.6478 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.4494, allocations: 75.92 kB / 0.6479 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.4497, allocations: 108.7 kB / 0.648 GB, free: 4.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.4497, allocations: 35.98 kB / 0.648 GB, free: 4.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009713/0.4507, allocations: 0.8664 MB / 0.6489 GB, free: 3.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4507, allocations: 0 / 0.6489 GB, free: 3.188 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001338/0.452, allocations: 455.9 kB / 0.6493 GB, free: 2.742 MB / 490.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.001301/0.4533, allocations: 0.5193 MB / 0.6498 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.456, allocations: 2.038 MB / 0.6518 GB, free: 288 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4561, allocations: 4 kB / 0.6518 GB, free: 284 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.4575, allocations: 1.396 MB / 0.6532 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.4588, allocations: 371 kB / 0.6535 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/0.4647, allocations: 4.348 MB / 0.6578 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.4658, allocations: 1.118 MB / 0.6589 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.4662, allocations: 111.4 kB / 0.659 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of SimCode: time 2.645e-06/0.4662, allocations: 4 kB / 0.659 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.3111/0.7773, allocations: 73.75 MB / 0.731 GB, free: 102.8 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.37622127099894]