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.000854/0.000854, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001934, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008869/0.0008869, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002043, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9969/0.9969, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0916/1.088, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.2953/0.2953, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02332/0.3186, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.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=350,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=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.341e-05, allocations: 2.312 kB / 293.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008711/0.008734, allocations: 9.423 MB / 303.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.01388, allocations: 3.684 MB / 307 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007243/0.01461, allocations: 63.56 kB / 307.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.0158, allocations: 0.7493 MB / 307.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.01726, allocations: 0.9238 MB / 308.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.01789, allocations: 454.8 kB / 309.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.01963, allocations: 2.529 MB / 311.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.02062, allocations: 1.033 MB / 312.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.02244, allocations: 1.973 MB / 314.8 MB, free: 132 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.02355, allocations: 1.224 MB / 316 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.02385, allocations: 272 kB / 316.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.02439, allocations: 415.7 kB / 316.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004399/0.02483, allocations: 0.6663 MB / 317.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.02544, allocations: 0.7135 MB / 318 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.02706, allocations: 1.958 MB / 320 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.02707, allocations: 4 kB / 320 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.02707, allocations: 0 / 320 MB, free: 10.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.471e-05/0.02711, allocations: 0 / 320 MB, free: 10.88 MB / 314.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.002769/0.02988, allocations: 2.947 MB / 322.9 MB, free: 7.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.0299, allocations: 12.03 kB / 323 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.03055, allocations: 433.7 kB / 323.4 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.0317, allocations: 0.979 MB / 324.4 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.03177, allocations: 139.7 kB / 324.5 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.03195, allocations: 195.9 kB / 324.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.0334, allocations: 1.44 MB / 326.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.03343, allocations: 4 kB / 326.1 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.03355, allocations: 79.97 kB / 326.2 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.03362, allocations: 95.69 kB / 326.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.03438, allocations: 0.5483 MB / 326.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.03911, allocations: 4.783 MB / 331.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.03977, allocations: 0.5882 MB / 332.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/0.04027, allocations: 418.5 kB / 332.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.04039, allocations: 36.98 kB / 332.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.0408, allocations: 484.8 kB / 333.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 1.994e-06/0.0408, allocations: 0 / 333.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.00499/0.04579, allocations: 3.125 MB / 336.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.04582, allocations: 68.41 kB / 336.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.04652, allocations: 1.01 MB / 337.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.04658, allocations: 49.7 kB / 337.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.04692, allocations: 0.7917 MB / 338.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.04714, allocations: 444.1 kB / 338.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.04737, allocations: 239.4 kB / 338.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.04749, allocations: 361.8 kB / 339.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.04771, allocations: 158.8 kB / 339.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.04812, allocations: 0.6045 MB / 340 MB, free: 6.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.0488, allocations: 0.7923 MB / 340.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.04881, allocations: 8 kB / 340.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001129/0.04994, allocations: 0.976 MB / 341.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.04996, allocations: 18.5 kB / 341.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.04997, allocations: 15.88 kB / 341.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.05049, allocations: 276.6 kB / 342 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/0.05108, allocations: 319.6 kB / 342.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.05386, allocations: 4.765 MB / 347.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.05426, allocations: 59.92 kB / 347.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.05431, allocations: 43.98 kB / 347.2 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0002797/0.05459, allocations: 208.2 kB / 347.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.05474, allocations: 123.9 kB / 347.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.05579, allocations: 0.8983 MB / 348.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.0558, allocations: 12 kB / 348.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.0558, allocations: 8 kB / 348.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.05581, allocations: 7.969 kB / 348.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.05837, allocations: 2.382 MB / 350.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.05838, allocations: 8 kB / 350.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.05878, allocations: 195.7 kB / 351.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.05905, allocations: 198.8 kB / 351.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006459/0.05969, allocations: 357.3 kB / 351.6 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.05974, allocations: 31.98 kB / 351.6 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.06284, allocations: 5.944 MB / 357.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.06284, allocations: 4 kB / 357.6 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.06416, allocations: 1.291 MB / 358.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.06428, allocations: 28 kB / 358.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.06458, allocations: 43.97 kB / 358.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.06474, allocations: 104.7 kB / 359 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.06478, allocations: 27.98 kB / 359.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004059/0.06519, allocations: 474.6 kB / 359.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06519, allocations: 0 / 359.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009911/0.06618, allocations: 447.9 kB / 360 MB, free: 1.141 MB / 346.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.06759, allocations: 0.6424 MB / 360.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.06887, allocations: 1.143 MB / 361.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.691e-05/0.06891, allocations: 31.19 kB / 361.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.06974, allocations: 0.9457 MB / 362.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.07062, allocations: 483.2 kB / 363.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.08311, allocations: 3.494 MB / 366.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.0835, allocations: 477.1 kB / 367.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000435/0.08393, allocations: 180.1 kB / 367.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.08446, allocations: 373.1 kB / 367.7 MB, free: 9.492 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.08446, allocations: 4 kB / 367.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of Templates: time 0.03067/0.1151, allocations: 25.76 MB / 393.5 MB, free: 52 kB / 378.7 MB " [Timeout remaining time 660] 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: 3.408518087118864]