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.0009917/0.0009917, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00101/0.00101, allocations: 156.5 kB / 24.55 MB, free: 20 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.9586/0.9586, allocations: 177 MB / 204.8 MB, free: 5.57 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.287/0.287, allocations: 34.87 MB / 296.3 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.976e-06/2.976e-06, allocations: 4 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.355e-05, allocations: 3.016 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01226/0.01229, allocations: 12.94 MB / 391.8 MB, free: 5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.02081, allocations: 4.241 MB / 396 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.02338, allocations: 107.3 kB / 396.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.02574, allocations: 0.974 MB / 397.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.02921, allocations: 1.3 MB / 398.4 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.03032, allocations: 0.5459 MB / 399 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004925/0.03525, allocations: 4.846 MB / 403.8 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.03785, allocations: 2.019 MB / 405.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005199/0.04305, allocations: 3.4 MB / 409.2 MB, free: 3.473 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003684/0.04674, allocations: 2.448 MB / 411.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.0481, allocations: 0.543 MB / 412.2 MB, free: 488 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.04994, allocations: 0.656 MB / 412.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.0513, allocations: 1.57 MB / 414.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.05513, allocations: 1.731 MB / 416.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.06031, allocations: 4.05 MB / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.06032, allocations: 0 / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.06032, allocations: 4 kB / 420.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.06043, allocations: 0 / 420.2 MB, free: 8.445 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.006572/0.067, allocations: 4.951 MB / 425.2 MB, free: 3.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.06704, allocations: 11.97 kB / 425.2 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.06861, allocations: 0.8339 MB / 426 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/0.07189, allocations: 2.392 MB / 428.4 MB, free: 124 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.07205, allocations: 271.4 kB / 428.7 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.07246, allocations: 352.3 kB / 429 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.07706, allocations: 3.058 MB / 432.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/0.07713, allocations: 7.984 kB / 432.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.07733, allocations: 148 kB / 432.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.07746, allocations: 187.1 kB / 432.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.07999, allocations: 1.326 MB / 433.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/0.2602, allocations: 11.84 MB / 445.6 MB, free: 89.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.2624, allocations: 1.522 MB / 447.1 MB, free: 88.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.2637, allocations: 0.9561 MB / 448.1 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.2639, allocations: 64.97 kB / 448.1 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.2639, allocations: 59.61 kB / 448.2 MB, free: 88.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 4.108e-06/0.264, allocations: 0 / 448.2 MB, free: 88.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.009157/0.2731, allocations: 5.076 MB / 453.3 MB, free: 88.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2732, allocations: 74.94 kB / 453.3 MB, free: 88.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.2754, allocations: 1.886 MB / 455.2 MB, free: 87.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.2755, allocations: 65.42 kB / 455.3 MB, free: 87.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.2764, allocations: 1.793 MB / 457.1 MB, free: 87.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.2769, allocations: 0.787 MB / 457.9 MB, free: 86.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.2773, allocations: 441.7 kB / 458.3 MB, free: 86.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.2774, allocations: 480.7 kB / 458.8 MB, free: 86.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.278, allocations: 375.4 kB / 459.1 MB, free: 86.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000908/0.279, allocations: 1.046 MB / 460.2 MB, free: 85.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.2808, allocations: 1.625 MB / 461.8 MB, free: 84.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.2808, allocations: 3.25 kB / 461.8 MB, free: 84.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003702/0.2845, allocations: 2.106 MB / 463.9 MB, free: 84.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.2846, allocations: 9.906 kB / 463.9 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.2846, allocations: 20.53 kB / 463.9 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.2861, allocations: 0.613 MB / 464.5 MB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.2872, allocations: 0.5103 MB / 465.1 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/0.2921, allocations: 7.796 MB / 472.9 MB, free: 77.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.2937, allocations: 104.3 kB / 473 MB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.2939, allocations: 84.16 kB / 473 MB, free: 77.28 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.001086/0.295, allocations: 299.9 kB / 473.3 MB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006224/0.2957, allocations: 349.3 kB / 473.7 MB, free: 76.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.2984, allocations: 1.832 MB / 475.5 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.2984, allocations: 20.78 kB / 475.5 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.2985, allocations: 8.719 kB / 475.5 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.2985, allocations: 9.797 kB / 475.5 MB, free: 76.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.3063, allocations: 5.015 MB / 480.6 MB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.3063, allocations: 2.938 kB / 480.6 MB, free: 74.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3073, allocations: 379.2 kB / 480.9 MB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.3091, allocations: 0.6591 MB / 481.6 MB, free: 73.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.3093, allocations: 51.02 kB / 481.6 MB, free: 73.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005761/0.3151, allocations: 9.508 MB / 491.1 MB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3151, allocations: 3.375 kB / 491.2 MB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.32, allocations: 2.544 MB / 493.7 MB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.3213, allocations: 498.6 kB / 494.2 MB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/0.3218, allocations: 54.97 kB / 494.2 MB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008528/0.3226, allocations: 107 kB / 494.3 MB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/0.323, allocations: 188.9 kB / 494.5 MB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.3231, allocations: 62.75 kB / 494.6 MB, free: 64.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001693/0.3248, allocations: 1.072 MB / 495.7 MB, free: 63.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3248, allocations: 0 / 495.7 MB, free: 63.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0028/0.3276, allocations: 0.7973 MB / 496.5 MB, free: 63.56 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.000642/0.3283, allocations: 249 kB / 496.7 MB, free: 63.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003107/0.3314, allocations: 2.213 MB / 498.9 MB, free: 62.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3314, allocations: 3.062 kB / 498.9 MB, free: 62.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.3331, allocations: 1.745 MB / 0.4889 GB, free: 61.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.3351, allocations: 0.6528 MB / 0.4896 GB, free: 61.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.3432, allocations: 6.486 MB / 0.4959 GB, free: 57.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.3442, allocations: 1.025 MB / 0.4969 GB, free: 57.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001371/0.3455, allocations: 0.5179 MB / 0.4974 GB, free: 57.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.346, allocations: 169.5 kB / 0.4976 GB, free: 57.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/0.346, allocations: 0 / 0.4976 GB, free: 57.04 MB / 410.7 MB Notification: Performance of Templates: time 0.05086/0.3968, allocations: 41.53 MB / 0.5381 GB, free: 19.66 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.000563055742532]