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.0009206/0.0009206, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002181, 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.0007725/0.0007725, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001872, 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 1.048/1.048, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.16, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.29/0.29, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03059/0.3206, allocations: 13.23 MB / 292.6 MB, free: 6.453 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 1.252e-06/1.252e-06, allocations: 0 / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.853e-05, allocations: 2.312 kB / 293.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0105/0.01052, allocations: 12.66 MB / 306.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.01916, allocations: 4.465 MB / 311.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.02259, allocations: 99.38 kB / 311.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.02591, allocations: 0.9936 MB / 312.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00539/0.0313, allocations: 1.316 MB / 313.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.03309, allocations: 0.5304 MB / 314 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006772/0.03986, allocations: 4.891 MB / 318.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.04346, allocations: 2.074 MB / 321 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006677/0.05014, allocations: 3.687 MB / 324.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.05375, allocations: 2.448 MB / 327.1 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.05521, allocations: 0.543 MB / 327.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.05683, allocations: 0.6521 MB / 328.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.05819, allocations: 1.282 MB / 329.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.0612, allocations: 1.435 MB / 331 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.06666, allocations: 3.801 MB / 334.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.849e-05/0.06668, allocations: 0 / 334.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.06669, allocations: 3.984 kB / 334.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000215/0.0669, allocations: 0 / 334.8 MB, free: 11.96 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.006724/0.07363, allocations: 5.292 MB / 340.1 MB, free: 6.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.07366, allocations: 14.55 kB / 340.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.07485, allocations: 0.767 MB / 340.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.07735, allocations: 1.651 MB / 342.6 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.07749, allocations: 267.4 kB / 342.8 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/0.07782, allocations: 360.3 kB / 343.2 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.08121, allocations: 2.861 MB / 346 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/0.08127, allocations: 7.938 kB / 346 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.08148, allocations: 144 kB / 346.2 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.08161, allocations: 191.1 kB / 346.4 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.08331, allocations: 1.07 MB / 347.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.09617, allocations: 9.223 MB / 356.7 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.09756, allocations: 1.364 MB / 358 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009483/0.09851, allocations: 0.7766 MB / 358.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.09869, allocations: 61.98 kB / 358.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.09873, allocations: 56.56 kB / 358.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 4.468e-06/0.09874, allocations: 0 / 358.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.009223/0.108, allocations: 3.977 MB / 362.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.108, allocations: 73.41 kB / 363 MB, free: 15.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.1097, allocations: 1.519 MB / 364.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.1098, allocations: 65.7 kB / 364.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.1105, allocations: 1.355 MB / 365.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007517/0.1112, allocations: 0.7667 MB / 366.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.1118, allocations: 392.2 kB / 367.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.1118, allocations: 309.1 kB / 367.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.1124, allocations: 283.8 kB / 367.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.1131, allocations: 0.724 MB / 368.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.1146, allocations: 1.288 MB / 369.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.1146, allocations: 4 kB / 369.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002718/0.1173, allocations: 1.535 MB / 371.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1173, allocations: 8 kB / 371.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.1173, allocations: 16 kB / 371.2 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.119, allocations: 0.5822 MB / 371.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.1209, allocations: 0.6251 MB / 372.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005821/0.1267, allocations: 5.706 MB / 378.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.1283, allocations: 71.98 kB / 378.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.1284, allocations: 64 kB / 378.3 MB, free: 15.13 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.001078/0.1295, allocations: 262.1 kB / 378.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.13, allocations: 239.7 kB / 378.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.1324, allocations: 1.413 MB / 380.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.1324, allocations: 20 kB / 380.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.1325, allocations: 8 kB / 380.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.1325, allocations: 11.95 kB / 380.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.1387, allocations: 3.434 MB / 383.6 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.1387, allocations: 4.047 kB / 383.6 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.1403, allocations: 0.5544 MB / 384.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/0.1412, allocations: 326.2 kB / 384.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.1429, allocations: 0.6168 MB / 385.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.143, allocations: 55.97 kB / 385.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/0.1492, allocations: 6.954 MB / 392.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.1493, allocations: 7.938 kB / 392.1 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.1524, allocations: 1.947 MB / 394.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.1528, allocations: 55.98 kB / 394.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.1536, allocations: 79.95 kB / 394.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.1539, allocations: 165.6 kB / 394.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.154, allocations: 51.97 kB / 394.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.1552, allocations: 0.7781 MB / 395.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1552, allocations: 0 / 395.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002212/0.1574, allocations: 0.7929 MB / 396 MB, free: 12.75 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.003531/0.1609, allocations: 233.1 kB / 396.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/0.1636, allocations: 1.707 MB / 397.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.093e-05/0.1636, allocations: 54.55 kB / 398 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004727/0.1684, allocations: 1.346 MB / 399.3 MB, free: 9.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.1707, allocations: 0.8469 MB / 400.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/0.2033, allocations: 6.564 MB / 406.7 MB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.2043, allocations: 0.8813 MB / 407.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001305/0.2056, allocations: 317.1 kB / 407.9 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.207, allocations: 0.6162 MB / 408.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.255e-06/0.207, allocations: 3.938 kB / 408.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of Templates: time 0.1845/0.3915, allocations: 44.56 MB / 453.1 MB, free: 120.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.5869528306648135]