Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001045/0.001045, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001705/0.001705, allocations: 165 kB / 25.61 MB, free: 8.578 MB / 18.57 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.9734/0.9734, allocations: 177 MB / 205.9 MB, free: 4.418 MB / 186.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.1534/0.1534, allocations: 34.87 MB / 297.4 MB, free: 13.32 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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.715e-05, allocations: 5.312 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01008/0.01011, allocations: 12.53 MB / 392.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0098/0.01991, allocations: 4.206 MB / 396.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.02347, allocations: 103.3 kB / 396.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.02664, allocations: 0.9744 MB / 397.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.0318, allocations: 1.308 MB / 399.2 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.03388, allocations: 0.5421 MB / 399.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007572/0.04145, allocations: 4.851 MB / 404.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00479/0.04624, allocations: 2.015 MB / 406.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.0571, allocations: 3.41 MB / 410 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006034/0.06314, allocations: 2.471 MB / 412.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.06548, allocations: 0.543 MB / 413 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.06889, allocations: 0.6365 MB / 413.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.07132, allocations: 1.578 MB / 415.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004516/0.07584, allocations: 1.731 MB / 417 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00717/0.08301, allocations: 4.054 MB / 421 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.08301, allocations: 4 kB / 421 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.08301, allocations: 4 kB / 421 MB, free: 13.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002168/0.08323, allocations: 0 / 421 MB, free: 13.52 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.009132/0.09236, allocations: 4.81 MB / 425.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.09241, allocations: 8.031 kB / 425.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.09423, allocations: 0.8416 MB / 426.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.09817, allocations: 2.243 MB / 429 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.09837, allocations: 263.4 kB / 429.2 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005084/0.09888, allocations: 356.3 kB / 429.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.1039, allocations: 2.827 MB / 432.4 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.104, allocations: 4 kB / 432.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.1043, allocations: 148 kB / 432.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.1045, allocations: 195.1 kB / 432.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.107, allocations: 1.037 MB / 433.8 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.1262, allocations: 11.66 MB / 445.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.1283, allocations: 1.393 MB / 446.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.1294, allocations: 0.8495 MB / 447.7 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.1296, allocations: 53.98 kB / 447.7 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1296, allocations: 63.39 kB / 447.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/0.1296, allocations: 0 / 447.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.008223/0.1378, allocations: 4.076 MB / 451.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.1379, allocations: 73.41 kB / 451.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.1406, allocations: 1.829 MB / 453.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.1408, allocations: 69.7 kB / 453.8 MB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.1419, allocations: 1.81 MB / 455.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007074/0.1426, allocations: 0.7941 MB / 456.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.1431, allocations: 446.3 kB / 456.9 MB, free: 9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1433, allocations: 476.8 kB / 457.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.1437, allocations: 284.4 kB / 457.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/0.1446, allocations: 0.965 MB / 458.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.1463, allocations: 1.469 MB / 460 MB, free: 5.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.1463, allocations: 4 kB / 460 MB, free: 5.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00312/0.1494, allocations: 1.9 MB / 461.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1494, allocations: 11.98 kB / 461.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.1495, allocations: 16 kB / 462 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.151, allocations: 0.5916 MB / 462.6 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.1522, allocations: 0.4914 MB / 463 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/0.1579, allocations: 7.543 MB / 470.6 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.1597, allocations: 71.94 kB / 470.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.1599, allocations: 72 kB / 470.7 MB, free: 10.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.161, allocations: 299.9 kB / 471 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/0.1618, allocations: 334.4 kB / 471.4 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.1645, allocations: 1.661 MB / 473 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.1645, allocations: 24 kB / 473 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.1645, allocations: 7.938 kB / 473 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.1645, allocations: 15.98 kB / 473.1 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/0.1721, allocations: 4.105 MB / 477.2 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.1721, allocations: 4.281 kB / 477.2 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/0.173, allocations: 355.5 kB / 477.5 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.1747, allocations: 0.6461 MB / 478.2 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.1748, allocations: 55.97 kB / 478.2 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00683/0.1816, allocations: 9.245 MB / 487.5 MB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1816, allocations: 7.984 kB / 487.5 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.186, allocations: 2.289 MB / 489.8 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.1873, allocations: 450.2 kB / 490.2 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.1876, allocations: 48 kB / 490.2 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.1883, allocations: 83.95 kB / 490.3 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.1886, allocations: 173.5 kB / 490.5 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.1887, allocations: 43.98 kB / 490.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.1899, allocations: 0.9774 MB / 491.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1899, allocations: 0 / 491.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002618/0.1925, allocations: 0.789 MB / 492.3 MB, free: 3.914 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,25,88.9%), (2,12,100.0%), (1,1,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.0005944/0.1931, allocations: 255 kB / 492.6 MB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.1962, allocations: 2.014 MB / 494.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1962, allocations: 0 / 494.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1845/0.3807, allocations: 1.63 MB / 496.2 MB, free: 98.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/0.3843, allocations: 0.6542 MB / 496.9 MB, free: 98.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.3959, allocations: 6.434 MB / 0.4915 GB, free: 96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.3976, allocations: 1.033 MB / 0.4925 GB, free: 95.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001926/0.3995, allocations: 313.2 kB / 0.4928 GB, free: 95.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/0.4016, allocations: 0.6987 MB / 0.4935 GB, free: 95.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.086e-06/0.4016, allocations: 0.7188 kB / 0.4935 GB, free: 95.72 MB / 410.7 MB Notification: Performance of Templates: time 0.05991/0.4615, allocations: 43.47 MB / 0.5359 GB, free: 60.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.388642755802721]