Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0007991/0.0007991, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002022, 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.001118/0.001118, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002701, 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.163/1.163, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.274, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.2788/0.2788, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02936/0.3081, allocations: 13.23 MB / 292.8 MB, free: 6.363 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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=46000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 294.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.435e-05, allocations: 3.578 kB / 294.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01308/0.01312, allocations: 9.611 MB / 303.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009395/0.02251, allocations: 3.822 MB / 307.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.02485, allocations: 67.56 kB / 307.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.02698, allocations: 0.6829 MB / 308.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.03035, allocations: 0.9547 MB / 309.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.0316, allocations: 482.9 kB / 309.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.03554, allocations: 2.775 MB / 312.6 MB, free: 2.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.03749, allocations: 1.113 MB / 313.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004067/0.04156, allocations: 2.191 MB / 315.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.04415, allocations: 1.344 MB / 317.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000984/0.04513, allocations: 296 kB / 317.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.04686, allocations: 0.5462 MB / 318.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.04801, allocations: 0.8805 MB / 319 MB, free: 12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.05007, allocations: 0.803 MB / 319.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.05358, allocations: 2.308 MB / 322.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.0536, allocations: 7.938 kB / 322.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.0536, allocations: 0 / 322.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.05371, allocations: 0 / 322.1 MB, free: 8.875 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004063/0.05777, allocations: 3.507 MB / 325.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.0578, allocations: 12.03 kB / 325.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/0.05876, allocations: 493.7 kB / 326.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.06055, allocations: 1.213 MB / 327.3 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.06064, allocations: 156.4 kB / 327.5 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.06086, allocations: 200.3 kB / 327.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.06306, allocations: 1.57 MB / 329.2 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.06312, allocations: 7.938 kB / 329.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.06325, allocations: 84 kB / 329.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.514e-05/0.06334, allocations: 95.94 kB / 329.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.06432, allocations: 0.6022 MB / 330 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/0.07068, allocations: 4.89 MB / 334.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.07167, allocations: 0.711 MB / 335.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.07225, allocations: 496.2 kB / 336.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.07238, allocations: 44.97 kB / 336.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.07241, allocations: 47.55 kB / 336.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.685e-06/0.07241, allocations: 4 kB / 336.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.004961/0.07737, allocations: 2.813 MB / 339 MB, free: 7.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.07742, allocations: 68.72 kB / 339.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.07865, allocations: 1.42 MB / 340.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.07871, allocations: 53.7 kB / 340.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.07908, allocations: 0.8469 MB / 341.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000486/0.07957, allocations: 479.8 kB / 341.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.0798, allocations: 227.5 kB / 342.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.0799, allocations: 365.8 kB / 342.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.08013, allocations: 166.8 kB / 342.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.08048, allocations: 421.9 kB / 343 MB, free: 3.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.08118, allocations: 0.7421 MB / 343.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.08118, allocations: 0 / 343.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001429/0.08261, allocations: 1.054 MB / 344.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.08263, allocations: 8 kB / 344.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.08264, allocations: 8 kB / 344.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.08372, allocations: 0.5351 MB / 345.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.08435, allocations: 283.6 kB / 345.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.08857, allocations: 4.628 MB / 350.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.08923, allocations: 48.02 kB / 350.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.08931, allocations: 39.98 kB / 350.4 MB, free: 11.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (5,34,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005846/0.08989, allocations: 184.4 kB / 350.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.09022, allocations: 159.8 kB / 350.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.09159, allocations: 1.004 MB / 351.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.09161, allocations: 12 kB / 351.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.09162, allocations: 8 kB / 351.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.09163, allocations: 7.969 kB / 351.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.095, allocations: 2.255 MB / 354 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.09501, allocations: 4.125 kB / 354 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.09559, allocations: 227.9 kB / 354.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.09605, allocations: 238.6 kB / 354.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009656/0.09702, allocations: 480.2 kB / 354.9 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.09708, allocations: 35.95 kB / 354.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.1007, allocations: 5.401 MB / 360.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1007, allocations: 3.984 kB / 360.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1025, allocations: 1.355 MB / 361.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.1027, allocations: 35.94 kB / 361.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.1031, allocations: 43.97 kB / 361.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.1033, allocations: 100.7 kB / 361.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.946e-05/0.1034, allocations: 35.97 kB / 361.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000722/0.1041, allocations: 0.6792 MB / 362.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1041, allocations: 0 / 362.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001673/0.1058, allocations: 0.4999 MB / 363.1 MB, free: 14.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.1073, allocations: 0.57 MB / 363.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.1091, allocations: 1.184 MB / 364.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.291e-05/0.1092, allocations: 31.12 kB / 364.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.1102, allocations: 0.9809 MB / 365.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.1135, allocations: 3.511 MB / 369.4 MB, free: 7.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.1287, allocations: 4.176 MB / 373.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/0.1294, allocations: 0.5825 MB / 374.1 MB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007457/0.1301, allocations: 213.5 kB / 374.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006613/0.1308, allocations: 393.1 kB / 374.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.1308, allocations: 0 / 374.7 MB, free: 2.309 MB / 362.7 MB Notification: Performance of Templates: time 0.04103/0.1718, allocations: 29.8 MB / 404.5 MB, free: 4.844 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.767637651413679]