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.001027/0.001027, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002695/0.003722, 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.001373/0.001373, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001787/0.00316, 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.064/1.064, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1462/1.21, allocations: 53.87 MB / 243.9 MB, free: 14.84 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.3366/0.3366, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02837/0.3649, allocations: 13.23 MB / 292.8 MB, free: 6.379 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.856e-06/2.856e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.729e-05, allocations: 4.562 kB / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01588/0.01592, allocations: 12.68 MB / 306.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.02686, allocations: 4.453 MB / 311.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.03012, allocations: 103.3 kB / 311.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.03269, allocations: 0.9975 MB / 312.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.03662, allocations: 1.3 MB / 313.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.03787, allocations: 0.5421 MB / 314.3 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.04306, allocations: 4.877 MB / 319.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.04587, allocations: 2.07 MB / 321.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.05215, allocations: 3.694 MB / 324.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.05585, allocations: 2.448 MB / 327.4 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.05741, allocations: 0.5468 MB / 327.9 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.05883, allocations: 0.6521 MB / 328.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.05998, allocations: 1.294 MB / 329.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.06204, allocations: 1.423 MB / 331.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004433/0.06648, allocations: 3.801 MB / 335.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.06649, allocations: 4 kB / 335.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.06649, allocations: 3.938 kB / 335.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002192/0.06671, allocations: 0 / 335.1 MB, free: 11.86 MB / 330.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.006786/0.0735, allocations: 5.296 MB / 340.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.07354, allocations: 12.03 kB / 340.4 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.07502, allocations: 0.7553 MB / 341.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.07773, allocations: 1.655 MB / 342.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.07788, allocations: 267.4 kB / 343.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.07827, allocations: 360.2 kB / 343.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.08156, allocations: 2.861 MB / 346.3 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.842e-05/0.08162, allocations: 3.984 kB / 346.3 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.08183, allocations: 144 kB / 346.4 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.08196, allocations: 187 kB / 346.6 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.0836, allocations: 1.086 MB / 347.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.09546, allocations: 9.215 MB / 356.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.09698, allocations: 1.364 MB / 358.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009755/0.09795, allocations: 0.7727 MB / 359 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.09815, allocations: 57.98 kB / 359.1 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.0982, allocations: 60.55 kB / 359.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 4.689e-06/0.0982, allocations: 0 / 359.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.009038/0.1072, allocations: 4.037 MB / 363.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1073, allocations: 77.41 kB / 363.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.1089, allocations: 1.511 MB / 364.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.109, allocations: 61.7 kB / 364.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/0.1097, allocations: 1.367 MB / 366.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006244/0.1103, allocations: 0.7551 MB / 367 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.1107, allocations: 396.2 kB / 367.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.1108, allocations: 301.1 kB / 367.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.1112, allocations: 287.8 kB / 367.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.1118, allocations: 0.728 MB / 368.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.1131, allocations: 1.335 MB / 370 MB, free: 7.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.1131, allocations: 4 kB / 370 MB, free: 7.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002333/0.1154, allocations: 1.535 MB / 371.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1154, allocations: 12 kB / 371.5 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.1155, allocations: 12 kB / 371.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.1169, allocations: 0.5816 MB / 372.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.1183, allocations: 0.6241 MB / 372.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.1228, allocations: 5.708 MB / 378.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.1239, allocations: 75.97 kB / 378.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.124, allocations: 72 kB / 378.6 MB, free: 14.92 MB / 378.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.0008777/0.1249, allocations: 246.4 kB / 378.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.1253, allocations: 239.7 kB / 379.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.1272, allocations: 1.417 MB / 380.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1272, allocations: 24 kB / 380.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1272, allocations: 4.047 kB / 380.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1272, allocations: 11.95 kB / 380.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005599/0.1328, allocations: 3.438 MB / 384 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.1328, allocations: 4.344 kB / 384 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.1341, allocations: 0.5424 MB / 384.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/0.135, allocations: 330.2 kB / 384.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.1365, allocations: 0.6249 MB / 385.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.1366, allocations: 51.97 kB / 385.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005596/0.1422, allocations: 6.965 MB / 392.5 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.1422, allocations: 4 kB / 392.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.1453, allocations: 1.96 MB / 394.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.1457, allocations: 51.98 kB / 394.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/0.1464, allocations: 79.95 kB / 394.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.1467, allocations: 173.6 kB / 394.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.1468, allocations: 43.98 kB / 394.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009571/0.1478, allocations: 0.7742 MB / 395.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1478, allocations: 0 / 395.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002153/0.1499, allocations: 0.7929 MB / 396.4 MB, free: 12.52 MB / 394.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.0005542/0.1505, allocations: 232.6 kB / 396.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.153, allocations: 1.743 MB / 398.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.993e-05/0.1531, allocations: 57.77 kB / 398.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.1553, allocations: 1.715 MB / 400.1 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/0.1596, allocations: 6.556 MB / 406.7 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/0.1857, allocations: 6.404 MB / 413.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/0.1866, allocations: 0.8813 MB / 413.9 MB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001293/0.1879, allocations: 317.3 kB / 414.3 MB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.1891, allocations: 0.624 MB / 414.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of SimCode: time 3.246e-06/0.1891, allocations: 0 / 414.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of Templates: time 0.2079/0.397, allocations: 46.91 MB / 461.8 MB, free: 102.9 MB / 426.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: 4.537040649913251]