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.0009856/0.0009856, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001297/0.001297, allocations: 165 kB / 24.99 MB, free: 8.801 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.9427/0.9427, allocations: 177 MB / 205.2 MB, free: 5.594 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.2419/0.2419, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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 2.504e-06/2.504e-06, allocations: 4 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.078e-05, allocations: 8.5 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.00988/0.009901, allocations: 12.89 MB / 391.7 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00523/0.01513, allocations: 4.23 MB / 396 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.01602, allocations: 103.3 kB / 396.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.0174, allocations: 0.9741 MB / 397 MB, free: 60 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.01951, allocations: 1.308 MB / 398.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.02036, allocations: 0.5382 MB / 398.9 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004005/0.02436, allocations: 4.842 MB / 403.7 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/0.02647, allocations: 2.019 MB / 405.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.02972, allocations: 3.254 MB / 409 MB, free: 4.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.03216, allocations: 2.498 MB / 411.5 MB, free: 1.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005601/0.03272, allocations: 0.5508 MB / 412 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.03358, allocations: 0.6599 MB / 412.7 MB, free: 316 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.03484, allocations: 1.613 MB / 414.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.03637, allocations: 1.754 MB / 416.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.04011, allocations: 4.085 MB / 420.2 MB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.04011, allocations: 4 kB / 420.2 MB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04011, allocations: 0 / 420.2 MB, free: 8.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.04014, allocations: 4 kB / 420.2 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.006265/0.04641, allocations: 5.002 MB / 425.2 MB, free: 3.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.04644, allocations: 12.03 kB / 425.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.04796, allocations: 0.8377 MB / 426 MB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.05112, allocations: 2.402 MB / 428.4 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.05129, allocations: 263.4 kB / 428.7 MB, free: 184 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/0.05172, allocations: 356.4 kB / 429 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/0.05627, allocations: 3.066 MB / 432.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/0.05634, allocations: 7.953 kB / 432.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/0.05663, allocations: 144 kB / 432.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.0568, allocations: 187.1 kB / 432.4 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.05996, allocations: 1.334 MB / 433.7 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.2364, allocations: 11.93 MB / 445.7 MB, free: 95.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2381, allocations: 1.514 MB / 447.2 MB, free: 95.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.2393, allocations: 0.9545 MB / 448.2 MB, free: 95.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.2395, allocations: 64.45 kB / 448.2 MB, free: 95.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.2395, allocations: 59.08 kB / 448.3 MB, free: 95.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 3.847e-06/0.2395, allocations: 0 / 448.3 MB, free: 95.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.007727/0.2472, allocations: 5.068 MB / 453.3 MB, free: 95.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2473, allocations: 74.66 kB / 453.4 MB, free: 94.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.249, allocations: 1.901 MB / 455.3 MB, free: 94.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.223e-05/0.2491, allocations: 60.77 kB / 455.4 MB, free: 94.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/0.2497, allocations: 1.786 MB / 457.2 MB, free: 93.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.2501, allocations: 0.7905 MB / 457.9 MB, free: 93.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.2505, allocations: 440 kB / 458.4 MB, free: 92.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.2506, allocations: 483.7 kB / 458.9 MB, free: 92.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.2512, allocations: 378.1 kB / 459.2 MB, free: 92.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008347/0.252, allocations: 1.046 MB / 460.3 MB, free: 91.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.2535, allocations: 1.625 MB / 461.9 MB, free: 90.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.2535, allocations: 7.281 kB / 461.9 MB, free: 90.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002822/0.2563, allocations: 2.103 MB / 464 MB, free: 89.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2563, allocations: 12.47 kB / 464 MB, free: 89.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.2564, allocations: 17.41 kB / 464 MB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.2578, allocations: 0.6088 MB / 464.6 MB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.2588, allocations: 0.5185 MB / 465.2 MB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.2628, allocations: 7.799 MB / 473 MB, free: 82.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/0.2638, allocations: 114 kB / 473.1 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2639, allocations: 92.52 kB / 473.2 MB, free: 82.72 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.0007235/0.2646, allocations: 294.1 kB / 473.4 MB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.265, allocations: 344.5 kB / 473.8 MB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.2673, allocations: 1.843 MB / 475.6 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.2673, allocations: 20.66 kB / 475.6 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2673, allocations: 6.25 kB / 475.7 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2673, allocations: 9.844 kB / 475.7 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.2739, allocations: 5.053 MB / 480.7 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.2739, allocations: 5.875 kB / 480.7 MB, free: 79.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.2748, allocations: 381.3 kB / 481.1 MB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.2764, allocations: 0.6772 MB / 481.8 MB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.2765, allocations: 59.69 kB / 481.8 MB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004857/0.2814, allocations: 9.576 MB / 491.4 MB, free: 70.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2814, allocations: 7.5 kB / 491.4 MB, free: 70.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.2853, allocations: 2.546 MB / 494 MB, free: 69.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/0.2862, allocations: 0.4971 MB / 494.5 MB, free: 69.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.2864, allocations: 54.44 kB / 494.5 MB, free: 69.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/0.2871, allocations: 117.5 kB / 494.6 MB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.2874, allocations: 187.7 kB / 494.8 MB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/0.2875, allocations: 64.88 kB / 494.9 MB, free: 69.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.2888, allocations: 1.081 MB / 496 MB, free: 68.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2888, allocations: 0 / 496 MB, free: 68.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001982/0.2907, allocations: 0.8013 MB / 496.8 MB, free: 68.88 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.0004557/0.2912, allocations: 239.7 kB / 497 MB, free: 68.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/0.2937, allocations: 2.218 MB / 499.2 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.2937, allocations: 3.5 kB / 499.2 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.2953, allocations: 1.786 MB / 0.4893 GB, free: 66.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.297, allocations: 0.6574 MB / 0.4899 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008556/0.3055, allocations: 6.503 MB / 0.4962 GB, free: 62.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.3064, allocations: 1.028 MB / 0.4972 GB, free: 61.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001358/0.3078, allocations: 0.5104 MB / 0.4977 GB, free: 61.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.3082, allocations: 171.2 kB / 0.4979 GB, free: 60.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.3082, allocations: 0 / 0.4979 GB, free: 60.95 MB / 410.7 MB Notification: Performance of Templates: time 0.05068/0.3589, allocations: 40.48 MB / 0.5374 GB, free: 23.76 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.650713537121192]