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.00104/0.00104, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001149/0.001149, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9616/0.9616, allocations: 177 MB / 205.2 MB, free: 5.051 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.2744/0.2744, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 266.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.312e-06/1.312e-06, allocations: 0 / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.331e-05, allocations: 3.297 kB / 326 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009404/0.009417, allocations: 12.55 MB / 338.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005684/0.0151, allocations: 4.363 MB / 342.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.01588, allocations: 103.3 kB / 343 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.01723, allocations: 0.9896 MB / 344 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.01911, allocations: 1.304 MB / 345.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.01983, allocations: 0.5421 MB / 345.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.02288, allocations: 4.873 MB / 350.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02454, allocations: 2.066 MB / 352.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.02785, allocations: 3.389 MB / 356.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.02987, allocations: 2.44 MB / 358.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.03034, allocations: 0.5469 MB / 359.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006897/0.03103, allocations: 0.6481 MB / 359.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008972/0.03193, allocations: 1.578 MB / 361.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.03315, allocations: 1.731 MB / 363.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.03618, allocations: 4.046 MB / 367.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.03619, allocations: 0 / 367.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.03619, allocations: 0 / 367.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.855e-05/0.03622, allocations: 0 / 367.2 MB, free: 13.69 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.004317/0.04054, allocations: 4.429 MB / 371.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.04058, allocations: 12.03 kB / 371.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.04166, allocations: 0.68 MB / 372.3 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.04364, allocations: 1.647 MB / 373.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.04377, allocations: 263.4 kB / 374.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.04412, allocations: 360.3 kB / 374.5 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.0469, allocations: 2.869 MB / 377.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.04696, allocations: 7.953 kB / 377.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.04717, allocations: 140 kB / 377.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.0473, allocations: 195.1 kB / 377.7 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.04882, allocations: 1.082 MB / 378.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009265/0.05809, allocations: 9.172 MB / 388 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.05941, allocations: 1.357 MB / 389.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009825/0.0604, allocations: 0.7727 MB / 390.1 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.06058, allocations: 61.98 kB / 390.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.06062, allocations: 52.56 kB / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.487e-06/0.06062, allocations: 0 / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.006761/0.06738, allocations: 3.983 MB / 394.2 MB, free: 2.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.06742, allocations: 77.39 kB / 394.3 MB, free: 1.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.06859, allocations: 1.511 MB / 395.8 MB, free: 400 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.06868, allocations: 65.7 kB / 395.9 MB, free: 328 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.06926, allocations: 1.363 MB / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.06967, allocations: 0.7551 MB / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.07008, allocations: 392.2 kB / 398.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.762e-05/0.07017, allocations: 305.1 kB / 398.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.07058, allocations: 283.8 kB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.07117, allocations: 0.7241 MB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.07232, allocations: 1.295 MB / 401 MB, free: 10.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.07232, allocations: 4 kB / 401 MB, free: 10.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001973/0.0743, allocations: 1.539 MB / 402.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.07432, allocations: 8 kB / 402.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.07433, allocations: 16 kB / 402.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.07559, allocations: 0.5758 MB / 403.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.0769, allocations: 491.3 kB / 403.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.08087, allocations: 5.664 MB / 409.3 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.08162, allocations: 75.97 kB / 409.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.08173, allocations: 60 kB / 409.4 MB, free: 2.082 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.0006858/0.08241, allocations: 252.1 kB / 409.6 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.08272, allocations: 239.7 kB / 409.9 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.08453, allocations: 1.41 MB / 411.3 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.08454, allocations: 24 kB / 411.3 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.08454, allocations: 8 kB / 411.3 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.08456, allocations: 15.94 kB / 411.3 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.08911, allocations: 3.446 MB / 414.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.08912, allocations: 0 / 414.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.08991, allocations: 351.8 kB / 415.1 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.09131, allocations: 0.6938 MB / 415.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.09142, allocations: 59.97 kB / 415.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.09587, allocations: 6.907 MB / 422.8 MB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.09587, allocations: 8 kB / 422.8 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.09838, allocations: 1.947 MB / 424.7 MB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.09897, allocations: 326.2 kB / 425.1 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.09917, allocations: 51.98 kB / 425.1 MB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.09972, allocations: 83.95 kB / 425.2 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.09997, allocations: 165.6 kB / 425.3 MB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-05/0.1001, allocations: 51.92 kB / 425.4 MB, free: 1.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006905/0.1007, allocations: 0.7703 MB / 426.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1007, allocations: 4 kB / 426.2 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001707/0.1024, allocations: 0.789 MB / 427 MB, free: 15.87 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.0004264/0.1029, allocations: 221.5 kB / 427.2 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.1048, allocations: 1.711 MB / 428.9 MB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-05/0.1048, allocations: 29.81 kB / 428.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.1061, allocations: 1.343 MB / 430.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.1075, allocations: 0.6519 MB / 430.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/0.1145, allocations: 6.192 MB / 437.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/0.1153, allocations: 0.8741 MB / 438 MB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007725/0.1161, allocations: 313.1 kB / 438.3 MB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.1172, allocations: 0.6123 MB / 438.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1172, allocations: 0 / 438.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of Templates: time 0.1732/0.2904, allocations: 42.39 MB / 481.3 MB, free: 81.93 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.1026772586628795]