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.00127/0.00127, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001942/0.003212, allocations: 457.8 kB / 10.45 MB, free: 244 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.001287/0.001287, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.002963, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.206/1.206, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1084/1.314, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2769/0.2769, allocations: 34.89 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02846/0.3054, allocations: 13.24 MB / 292.8 MB, free: 6.359 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.343e-06/1.343e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.036e-05, allocations: 6.312 kB / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009728/0.009758, allocations: 9.421 MB / 303.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007464/0.01722, allocations: 3.692 MB / 307.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.01841, allocations: 63.56 kB / 307.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.01992, allocations: 0.7454 MB / 308.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.02202, allocations: 0.9315 MB / 309 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.02301, allocations: 454.8 kB / 309.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.02536, allocations: 2.528 MB / 312 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.02662, allocations: 1.037 MB / 313 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.02897, allocations: 1.973 MB / 315 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.03044, allocations: 1.227 MB / 316.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.03094, allocations: 272 kB / 316.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.03166, allocations: 415.7 kB / 316.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.03216, allocations: 0.6662 MB / 317.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007774/0.03293, allocations: 0.7135 MB / 318.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.0351, allocations: 1.958 MB / 320.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.03511, allocations: 0 / 320.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03512, allocations: 0 / 320.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.03519, allocations: 4 kB / 320.3 MB, free: 10.73 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.00343/0.03862, allocations: 2.947 MB / 323.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.03866, allocations: 8.031 kB / 323.2 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.03933, allocations: 437.7 kB / 323.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.04069, allocations: 0.9751 MB / 324.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.04077, allocations: 143.7 kB / 324.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.04095, allocations: 195.9 kB / 324.9 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.04267, allocations: 1.444 MB / 326.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/0.04271, allocations: 3.984 kB / 326.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.04282, allocations: 72 kB / 326.5 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.04289, allocations: 95.67 kB / 326.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.04373, allocations: 0.5523 MB / 327.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005708/0.04944, allocations: 4.783 MB / 331.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.05011, allocations: 0.576 MB / 332.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.05064, allocations: 422.5 kB / 332.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.05078, allocations: 48.97 kB / 332.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005138/0.05129, allocations: 484.7 kB / 333.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 2.364e-06/0.05129, allocations: 0 / 333.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.005476/0.05677, allocations: 3.179 MB / 336.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.05681, allocations: 64.41 kB / 336.6 MB, free: 9.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.05763, allocations: 1.014 MB / 337.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.05769, allocations: 57.64 kB / 337.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/0.05822, allocations: 0.784 MB / 338.5 MB, free: 7.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.05848, allocations: 444.1 kB / 338.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.05872, allocations: 235.4 kB / 339.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.05882, allocations: 365.8 kB / 339.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.05903, allocations: 154.8 kB / 339.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.05941, allocations: 0.6123 MB / 340.3 MB, free: 6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.06008, allocations: 0.8274 MB / 341.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.06009, allocations: 4 kB / 341.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001233/0.06132, allocations: 0.9754 MB / 342.1 MB, free: 4.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.06134, allocations: 8 kB / 342.1 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.06135, allocations: 15.94 kB / 342.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.06191, allocations: 281.6 kB / 342.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.06254, allocations: 323.5 kB / 342.7 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.06543, allocations: 4.767 MB / 347.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.066, allocations: 59.92 kB / 347.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.06606, allocations: 43.98 kB / 347.6 MB, free: 14.26 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.000424/0.06648, allocations: 200.3 kB / 347.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.06667, allocations: 123.9 kB / 347.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.06797, allocations: 0.8936 MB / 348.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.06798, allocations: 12 kB / 348.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.06798, allocations: 12.06 kB / 348.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.06799, allocations: 3.984 kB / 348.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.07077, allocations: 2.385 MB / 351.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.07077, allocations: 4 kB / 351.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.07121, allocations: 196.1 kB / 351.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.0715, allocations: 206.8 kB / 351.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00068/0.07218, allocations: 363 kB / 351.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.07223, allocations: 27.98 kB / 352 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.0755, allocations: 5.943 MB / 357.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.07551, allocations: 0 / 357.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.07689, allocations: 1.295 MB / 359.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.07703, allocations: 28 kB / 359.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.07736, allocations: 43.92 kB / 359.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.07752, allocations: 108.7 kB / 359.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.07756, allocations: 28 kB / 359.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.07796, allocations: 474.6 kB / 359.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07796, allocations: 0 / 359.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001077/0.07904, allocations: 443.9 kB / 360.3 MB, free: 0.8984 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.001453/0.08049, allocations: 0.6394 MB / 361 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.0818, allocations: 1.176 MB / 362.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.214e-05/0.08183, allocations: 23.12 kB / 362.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.08321, allocations: 1.171 MB / 363.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.08505, allocations: 3.371 MB / 366.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.09842, allocations: 3.427 MB / 370.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.09885, allocations: 481 kB / 370.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000661/0.09951, allocations: 184.2 kB / 370.8 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.1001, allocations: 381.1 kB / 371.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of SimCode: time 3.757e-06/0.1001, allocations: 0 / 371.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of Templates: time 0.0339/0.134, allocations: 25.71 MB / 396.9 MB, free: 12.09 MB / 394.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.5290117785334587]