Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2425/0.2425, allocations: 29.41 MB / 291.2 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.473e-05, allocations: 2.312 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01237/0.01239, allocations: 5.893 MB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.01608, allocations: 1.756 MB / 324.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.01652, allocations: 39.62 kB / 324.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.01719, allocations: 218.5 kB / 324.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.01812, allocations: 0.5905 MB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.01846, allocations: 227.5 kB / 325.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009312/0.01939, allocations: 1.292 MB / 326.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.01966, allocations: 221 kB / 327 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.02065, allocations: 0.8884 MB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.02111, allocations: 478.5 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.02117, allocations: 56 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.02126, allocations: 60 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.02149, allocations: 351 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.02171, allocations: 287.3 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.02227, allocations: 0.6265 MB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.02227, allocations: 0 / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.02227, allocations: 0 / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.02228, allocations: 0 / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001153/0.02344, allocations: 1.084 MB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.02348, allocations: 19.97 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.02361, allocations: 104.9 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.02422, allocations: 0.5595 MB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.02425, allocations: 49.69 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.02431, allocations: 68.34 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.02482, allocations: 0.5893 MB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.02484, allocations: 11.94 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.02487, allocations: 20 kB / 332.3 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.0249, allocations: 37.23 kB / 332.3 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.02517, allocations: 280.3 kB / 332.6 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.02676, allocations: 1.773 MB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.02717, allocations: 413 kB / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.0274, allocations: 244.1 kB / 335 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.02743, allocations: 8.5 kB / 335 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.02773, allocations: 443.5 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 1.854e-06/0.02773, allocations: 0 / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007461/0.02847, allocations: 0.8529 MB / 336.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.02857, allocations: 251.8 kB / 336.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.02885, allocations: 486.9 kB / 337 MB, free: 11.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.02888, allocations: 37.7 kB / 337 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.02903, allocations: 337.6 kB / 337.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.02914, allocations: 214.2 kB / 337.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.02926, allocations: 142.6 kB / 337.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.02937, allocations: 390.6 kB / 338.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.02948, allocations: 136.2 kB / 338.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.02969, allocations: 364.3 kB / 338.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.03006, allocations: 0.559 MB / 339.2 MB, free: 8.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.03006, allocations: 4 kB / 339.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.000589/0.03065, allocations: 0.6043 MB / 339.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.0307, allocations: 68.05 kB / 339.8 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.03071, allocations: 8 kB / 339.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.03093, allocations: 107.4 kB / 339.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.03119, allocations: 147.8 kB / 340.1 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.03273, allocations: 3.004 MB / 343.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.03292, allocations: 83.38 kB / 343.2 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.03297, allocations: 48.03 kB / 343.2 MB, free: 4.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.03315, allocations: 237.8 kB / 343.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-05/0.03322, allocations: 71.88 kB / 343.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.03359, allocations: 494.5 kB / 344 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.03359, allocations: 8 kB / 344 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.03359, allocations: 0 / 344 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.0336, allocations: 3.984 kB / 344 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000831/0.03443, allocations: 0.9355 MB / 345 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03443, allocations: 4.125 kB / 345 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.03466, allocations: 103.9 kB / 345.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.03466, allocations: 4 kB / 345.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.03469, allocations: 16 kB / 345.1 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0347, allocations: 7.922 kB / 345.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0347, allocations: 8.062 kB / 345.1 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.03528, allocations: 0.7876 MB / 345.9 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.03539, allocations: 99.31 kB / 346 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.03544, allocations: 19.98 kB / 346 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.03556, allocations: 19.92 kB / 346 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.03561, allocations: 40.44 kB / 346.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.03567, allocations: 55.92 kB / 346.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.03582, allocations: 208.3 kB / 346.3 MB, free: 1.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03582, allocations: 3.938 kB / 346.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.0362, allocations: 207.7 kB / 346.5 MB, free: 1.145 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.03631, allocations: 105 kB / 346.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006236/0.03693, allocations: 0.8683 MB / 347.5 MB, free: 88 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.03694, allocations: 8 kB / 347.5 MB, free: 80 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.03716, allocations: 367.1 kB / 347.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.03754, allocations: 159.5 kB / 348 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.03909, allocations: 1.391 MB / 349.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.03922, allocations: 207.4 kB / 349.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.0394, allocations: 93.69 kB / 349.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.03969, allocations: 217.2 kB / 349.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03969, allocations: 0 / 349.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Templates: time 0.009645/0.04933, allocations: 8.218 MB / 358.1 MB, free: 5.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1042332309298217]