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.001277/0.001277, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.0009528/0.0009528, allocations: 156.5 kB / 24.23 MB, free: 328 kB / 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.9728/0.9728, allocations: 177 MB / 204.4 MB, free: 5.605 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.2718/0.2718, allocations: 34.87 MB / 295.8 MB, free: 0.5625 MB / 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.643e-06/1.643e-06, allocations: 0 / 378.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.518e-05, allocations: 3.016 kB / 378.1 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01012/0.01014, allocations: 12.89 MB / 391 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005982/0.01612, allocations: 4.23 MB / 395.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.01722, allocations: 103.3 kB / 395.3 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.01887, allocations: 0.974 MB / 396.3 MB, free: 56 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.0211, allocations: 1.3 MB / 397.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.02206, allocations: 0.5421 MB / 398.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004012/0.02607, allocations: 4.848 MB / 403 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.02817, allocations: 2.023 MB / 405 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.03329, allocations: 3.247 MB / 408.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.03759, allocations: 2.502 MB / 410.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.03913, allocations: 0.5547 MB / 411.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.04085, allocations: 0.6521 MB / 411.9 MB, free: 316 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.04195, allocations: 1.613 MB / 413.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002572/0.04452, allocations: 1.75 MB / 415.3 MB, free: 12.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004234/0.04876, allocations: 4.093 MB / 419.4 MB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.04876, allocations: 0 / 419.4 MB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.04877, allocations: 3.938 kB / 419.4 MB, free: 8.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.04887, allocations: 0 / 419.4 MB, free: 8.828 MB / 394.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.007107/0.05598, allocations: 5.01 MB / 424.4 MB, free: 3.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.05602, allocations: 8.031 kB / 424.4 MB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.05767, allocations: 0.8377 MB / 425.3 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.06103, allocations: 2.399 MB / 427.7 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.06121, allocations: 267.4 kB / 427.9 MB, free: 180 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.06166, allocations: 360.3 kB / 428.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004947/0.0666, allocations: 3.054 MB / 431.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.368e-05/0.06668, allocations: 7.953 kB / 431.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.06695, allocations: 148 kB / 431.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.06713, allocations: 195.1 kB / 431.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.07047, allocations: 1.334 MB / 433 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1731/0.2436, allocations: 11.92 MB / 444.9 MB, free: 95.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.2453, allocations: 1.51 MB / 446.4 MB, free: 95.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2465, allocations: 0.9547 MB / 447.4 MB, free: 95.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.2467, allocations: 67.14 kB / 447.4 MB, free: 95.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2467, allocations: 58.39 kB / 447.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 3.457e-06/0.2467, allocations: 0 / 447.5 MB, free: 95.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.00747/0.2542, allocations: 5.072 MB / 452.6 MB, free: 95.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2542, allocations: 74.81 kB / 452.7 MB, free: 94.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.256, allocations: 1.896 MB / 454.5 MB, free: 94.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.256, allocations: 61.77 kB / 454.6 MB, free: 94.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006381/0.2567, allocations: 1.787 MB / 456.4 MB, free: 93.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.257, allocations: 0.7875 MB / 457.2 MB, free: 93.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.2574, allocations: 438.8 kB / 457.6 MB, free: 92.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.2575, allocations: 483.3 kB / 458.1 MB, free: 92.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.2581, allocations: 379 kB / 458.5 MB, free: 92.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.2589, allocations: 1.052 MB / 459.5 MB, free: 91.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.2605, allocations: 1.625 MB / 461.1 MB, free: 90.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.2605, allocations: 3.188 kB / 461.1 MB, free: 90.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002733/0.2632, allocations: 2.11 MB / 463.2 MB, free: 89.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2632, allocations: 13.27 kB / 463.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2632, allocations: 13.34 kB / 463.3 MB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.2646, allocations: 0.6105 MB / 463.9 MB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2657, allocations: 0.5258 MB / 464.4 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.2697, allocations: 7.796 MB / 472.2 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.2706, allocations: 114.3 kB / 472.3 MB, free: 82.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.2707, allocations: 88.5 kB / 472.4 MB, free: 82.77 MB / 410.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.0008305/0.2715, allocations: 297.8 kB / 472.7 MB, free: 82.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.2719, allocations: 346.5 kB / 473 MB, free: 82.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.2743, allocations: 1.844 MB / 474.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2743, allocations: 21.59 kB / 474.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2744, allocations: 6.281 kB / 474.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.2744, allocations: 9.938 kB / 474.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0069/0.2813, allocations: 5.049 MB / 480 MB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2813, allocations: 3.344 kB / 480 MB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.2822, allocations: 379.8 kB / 480.3 MB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/0.2837, allocations: 0.6712 MB / 481 MB, free: 79.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2838, allocations: 62.89 kB / 481.1 MB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004603/0.2884, allocations: 9.583 MB / 490.6 MB, free: 70.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2884, allocations: 3.688 kB / 490.7 MB, free: 70.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.2919, allocations: 2.55 MB / 493.2 MB, free: 69.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/0.2926, allocations: 0.4968 MB / 493.7 MB, free: 69.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.2928, allocations: 51.47 kB / 493.7 MB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.2934, allocations: 119.4 kB / 493.9 MB, free: 69.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.2936, allocations: 186.3 kB / 494 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/0.2937, allocations: 56.61 kB / 494.1 MB, free: 69.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.2949, allocations: 1.085 MB / 495.2 MB, free: 69.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2949, allocations: 5.375 kB / 495.2 MB, free: 69.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001713/0.2966, allocations: 0.7965 MB / 496 MB, free: 68.93 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004147/0.297, allocations: 257.1 kB / 496.2 MB, free: 68.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.2993, allocations: 2.21 MB / 498.4 MB, free: 67.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2993, allocations: 1.719 kB / 498.5 MB, free: 67.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.3008, allocations: 1.787 MB / 0.4885 GB, free: 66.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.3022, allocations: 0.655 MB / 0.4892 GB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.3092, allocations: 6.506 MB / 0.4955 GB, free: 62.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/0.3101, allocations: 1.03 MB / 0.4965 GB, free: 61.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.3111, allocations: 0.5108 MB / 0.497 GB, free: 61.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.3115, allocations: 166.9 kB / 0.4972 GB, free: 60.93 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3115, allocations: 0 / 0.4972 GB, free: 60.93 MB / 410.7 MB Notification: Performance of Templates: time 0.04117/0.3527, allocations: 40.48 MB / 0.5367 GB, free: 23.73 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: 4.977502504829317]