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.002135/0.002135, allocations: 110 kB / 20.43 MB, free: 4.594 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.001945/0.001945, allocations: 217.3 kB / 23.73 MB, free: 2.133 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.755/1.755, allocations: 230.6 MB / 257.4 MB, free: 9.48 MB / 202.7 MB " [Timeout remaining time 178] 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.2915/0.2915, allocations: 47.7 MB / 361.6 MB, free: 2.34 MB / 282.7 MB " [Timeout remaining time 179] 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.005279/0.005279, allocations: 96.22 kB / 0.4978 GB, free: 6.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1615, allocations: 66.22 MB / 0.5624 GB, free: 4.586 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.3007/0.4622, allocations: 8.524 MB / 0.5708 GB, free: 11.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00646/0.4687, allocations: 3.436 MB / 0.5741 GB, free: 9.156 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4701, allocations: 59.75 kB / 0.5742 GB, free: 9.133 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.472, allocations: 0.7241 MB / 0.5749 GB, free: 8.801 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.4748, allocations: 0.8972 MB / 0.5757 GB, free: 8.262 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4761, allocations: 454.7 kB / 0.5762 GB, free: 7.992 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.4794, allocations: 2.44 MB / 0.5786 GB, free: 6.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.481, allocations: 1.013 MB / 0.5796 GB, free: 6.242 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.4833, allocations: 1.129 MB / 0.5807 GB, free: 5.719 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.4863, allocations: 1.355 MB / 0.582 GB, free: 5.172 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007336/0.487, allocations: 278.6 kB / 0.5822 GB, free: 5.172 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.4884, allocations: 413.6 kB / 0.5826 GB, free: 5.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.4895, allocations: 0.8165 MB / 0.5834 GB, free: 4.691 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.4909, allocations: 1.039 MB / 0.5845 GB, free: 4.102 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.4964, allocations: 3.787 MB / 0.5882 GB, free: 2.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4964, allocations: 2.109 kB / 0.5882 GB, free: 2.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4964, allocations: 0 / 0.5882 GB, free: 2.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001124/0.4965, allocations: 4 kB / 0.5882 GB, free: 2.742 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.005801/0.5023, allocations: 2.674 MB / 0.5908 GB, free: 1.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5024, allocations: 9.188 kB / 0.5908 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.5033, allocations: 293 kB / 0.5911 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.5061, allocations: 1.333 MB / 0.5924 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.5062, allocations: 136.2 kB / 0.5925 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.5065, allocations: 200.9 kB / 0.5927 GB, free: 172 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.5113, allocations: 2.539 MB / 0.5952 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/0.5114, allocations: 7.891 kB / 0.5952 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.5116, allocations: 76.12 kB / 0.5952 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.5117, allocations: 99.16 kB / 0.5953 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003801/0.5155, allocations: 1.979 MB / 0.5973 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.5292, allocations: 6.332 MB / 0.6034 GB, free: 9.512 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.5313, allocations: 1.056 MB / 0.6045 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.533, allocations: 0.8322 MB / 0.6053 GB, free: 8.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.5333, allocations: 48.41 kB / 0.6053 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.5347, allocations: 0.779 MB / 0.6061 GB, free: 7.988 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 3.357e-06/0.5347, allocations: 3.938 kB / 0.6061 GB, free: 7.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.01769/0.5524, allocations: 6.829 MB / 0.6128 GB, free: 4.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5525, allocations: 167.6 kB / 0.6129 GB, free: 4.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.5548, allocations: 1.282 MB / 0.6142 GB, free: 2.988 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.5549, allocations: 49.7 kB / 0.6142 GB, free: 2.934 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.5561, allocations: 0.9731 MB / 0.6152 GB, free: 1.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.5566, allocations: 444.2 kB / 0.6156 GB, free: 1.512 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.5571, allocations: 251.5 kB / 0.6158 GB, free: 1.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.5573, allocations: 353.9 kB / 0.6162 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.5585, allocations: 0.6403 MB / 0.6168 GB, free: 272 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.5602, allocations: 1.102 MB / 0.6179 GB, free: 15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.5633, allocations: 1.711 MB / 0.6196 GB, free: 13.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.5633, allocations: 4 kB / 0.6196 GB, free: 13.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005128/0.5684, allocations: 2.262 MB / 0.6218 GB, free: 10.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.5685, allocations: 8 kB / 0.6218 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.5685, allocations: 8.25 kB / 0.6218 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.5698, allocations: 491.9 kB / 0.6223 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.5711, allocations: 299.5 kB / 0.6225 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008753/0.5798, allocations: 6.76 MB / 0.6291 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.5815, allocations: 95.92 kB / 0.6292 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.5816, allocations: 60.8 kB / 0.6293 GB, free: 2.855 MB / 458.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.00145/0.5831, allocations: 0.6339 MB / 0.6299 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.5834, allocations: 151.1 kB / 0.6301 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.5879, allocations: 2.066 MB / 0.6321 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.588, allocations: 12 kB / 0.6321 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.588, allocations: 7.938 kB / 0.6321 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.588, allocations: 7.969 kB / 0.6321 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.5963, allocations: 3.877 MB / 0.6359 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5963, allocations: 8.062 kB / 0.6359 GB, free: 11.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008533/0.5972, allocations: 195.7 kB / 0.6361 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.5987, allocations: 0.527 MB / 0.6366 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5988, allocations: 31.98 kB / 0.6366 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.6093, allocations: 8.186 MB / 0.6446 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6093, allocations: 7.969 kB / 0.6446 GB, free: 2.605 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.6154, allocations: 3.001 MB / 0.6476 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009804/0.6163, allocations: 278.9 kB / 0.6478 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/0.6166, allocations: 39.92 kB / 0.6479 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.6174, allocations: 75.86 kB / 0.6479 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.6177, allocations: 100.8 kB / 0.648 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.6178, allocations: 39.92 kB / 0.6481 GB, free: 15.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001489/0.6192, allocations: 0.8703 MB / 0.6489 GB, free: 14.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6192, allocations: 0 / 0.6489 GB, free: 14.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001874/0.6211, allocations: 451.9 kB / 0.6493 GB, free: 13.7 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.003243/0.6244, allocations: 0.5108 MB / 0.6498 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004075/0.6284, allocations: 2.045 MB / 0.6518 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6284, allocations: 0 / 0.6518 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.6316, allocations: 1.401 MB / 0.6532 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.6337, allocations: 371.9 kB / 0.6536 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.6422, allocations: 4.294 MB / 0.6578 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.644, allocations: 1.126 MB / 0.6589 GB, free: 3.914 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001475/0.6455, allocations: 311.9 kB / 0.6592 GB, free: 3.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.6458, allocations: 99.42 kB / 0.6593 GB, free: 3.512 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6458, allocations: 0 / 0.6593 GB, free: 3.512 MB / 490.7 MB Notification: Performance of Templates: time 0.05275/0.6986, allocations: 26.16 MB / 0.6848 GB, free: 9.652 MB / 0.5105 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.066590772941709]