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.00117/0.00117, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001136/0.001136, allocations: 160.5 kB / 24.56 MB, free: 8 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.9677/0.9677, allocations: 177 MB / 204.8 MB, free: 5.617 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.2864/0.2864, allocations: 34.86 MB / 296.3 MB, free: 496 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.773e-06/1.773e-06, allocations: 0 / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.11e-05, allocations: 4.844 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01728/0.01731, allocations: 12.93 MB / 391.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.02429, allocations: 4.249 MB / 396 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.02576, allocations: 103.3 kB / 396.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.02758, allocations: 0.9702 MB / 397.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.03024, allocations: 1.304 MB / 398.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/0.03122, allocations: 0.5382 MB / 399 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003843/0.03506, allocations: 4.848 MB / 403.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.037, allocations: 2.019 MB / 405.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.04069, allocations: 3.255 MB / 409.1 MB, free: 3.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.04351, allocations: 2.502 MB / 411.6 MB, free: 1.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006492/0.04416, allocations: 0.5508 MB / 412.1 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.04518, allocations: 0.6599 MB / 412.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.04627, allocations: 1.613 MB / 414.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.04822, allocations: 1.75 MB / 416.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.05258, allocations: 4.089 MB / 420.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.05259, allocations: 0 / 420.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.05259, allocations: 0 / 420.2 MB, free: 8.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.945e-05/0.05265, allocations: 4 kB / 420.2 MB, free: 8.418 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.005462/0.05811, allocations: 5.002 MB / 425.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.05816, allocations: 8.031 kB / 425.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.0594, allocations: 0.8377 MB / 426.1 MB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.06211, allocations: 2.406 MB / 428.5 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.06226, allocations: 267.5 kB / 428.8 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.06261, allocations: 356.3 kB / 429.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.06645, allocations: 3.062 MB / 432.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.06651, allocations: 11.94 kB / 432.2 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.06671, allocations: 144 kB / 432.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.06684, allocations: 191.1 kB / 432.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.0693, allocations: 1.334 MB / 433.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1921/0.2614, allocations: 11.93 MB / 445.8 MB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.2635, allocations: 1.508 MB / 447.3 MB, free: 87.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.2648, allocations: 0.9529 MB / 448.2 MB, free: 87.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.2651, allocations: 69.48 kB / 448.3 MB, free: 87.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2651, allocations: 54.86 kB / 448.4 MB, free: 87.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=198): time 3.467e-06/0.2651, allocations: 0 / 448.4 MB, free: 87.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.008449/0.2735, allocations: 5.069 MB / 453.4 MB, free: 86.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2736, allocations: 77.31 kB / 453.5 MB, free: 86.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.2757, allocations: 1.9 MB / 455.4 MB, free: 86.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.2758, allocations: 64.73 kB / 455.5 MB, free: 86.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/0.2767, allocations: 1.789 MB / 457.3 MB, free: 85.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.2772, allocations: 0.7913 MB / 458 MB, free: 85.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/0.2777, allocations: 435 kB / 458.5 MB, free: 85.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.2778, allocations: 476.8 kB / 458.9 MB, free: 84.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.2784, allocations: 382.8 kB / 459.3 MB, free: 84.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.2793, allocations: 1.046 MB / 460.4 MB, free: 84.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.281, allocations: 1.628 MB / 462 MB, free: 83.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.281, allocations: 3.031 kB / 462 MB, free: 83.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002972/0.2839, allocations: 2.106 MB / 464.1 MB, free: 82.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.284, allocations: 13.56 kB / 464.1 MB, free: 82.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.284, allocations: 12.81 kB / 464.1 MB, free: 82.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.2854, allocations: 0.6049 MB / 464.7 MB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2865, allocations: 0.5201 MB / 465.2 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.2908, allocations: 7.8 MB / 473 MB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.2917, allocations: 123 kB / 473.2 MB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.2918, allocations: 82.66 kB / 473.2 MB, free: 75.83 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.0007059/0.2925, allocations: 303.6 kB / 473.5 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.2929, allocations: 337.5 kB / 473.9 MB, free: 75.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.2952, allocations: 1.839 MB / 475.7 MB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.2952, allocations: 20.97 kB / 475.7 MB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2952, allocations: 12.81 kB / 475.7 MB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2952, allocations: 10.03 kB / 475.8 MB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.3017, allocations: 5.052 MB / 480.8 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3017, allocations: 6.203 kB / 480.8 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/0.3027, allocations: 381.3 kB / 481.2 MB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3043, allocations: 0.6722 MB / 481.9 MB, free: 72.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.3044, allocations: 54.52 kB / 481.9 MB, free: 72.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.3092, allocations: 9.576 MB / 491.5 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.3092, allocations: 7.781 kB / 491.5 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.3129, allocations: 2.547 MB / 494 MB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.3137, allocations: 0.5023 MB / 494.5 MB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.314, allocations: 51.5 kB / 494.6 MB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.3146, allocations: 114 kB / 494.7 MB, free: 62.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.3149, allocations: 189.6 kB / 494.9 MB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.315, allocations: 64.62 kB / 495 MB, free: 62.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.3162, allocations: 1.08 MB / 496 MB, free: 62.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 496 MB, free: 62.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001902/0.3181, allocations: 0.7939 MB / 496.8 MB, free: 62.07 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.0004204/0.3185, allocations: 245.5 kB / 497.1 MB, free: 61.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.321, allocations: 2.224 MB / 499.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.321, allocations: 0 / 499.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.3224, allocations: 1.778 MB / 0.4893 GB, free: 59.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.324, allocations: 0.6615 MB / 0.49 GB, free: 59.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.3312, allocations: 6.509 MB / 0.4963 GB, free: 56.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009405/0.3322, allocations: 1.034 MB / 0.4973 GB, free: 55.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001106/0.3333, allocations: 0.5103 MB / 0.4978 GB, free: 55.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.3337, allocations: 167 kB / 0.498 GB, free: 55.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3337, allocations: 0 / 0.498 GB, free: 55.22 MB / 410.7 MB Notification: Performance of Templates: time 0.04476/0.3784, allocations: 40.47 MB / 0.5375 GB, free: 18.84 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.05016018403694]