Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001455/0.001455, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.00465/0.00465, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2632/0.2632, allocations: 29.42 MB / 291.2 MB, free: 2.473 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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.16e-05, allocations: 3.406 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005588/0.005609, allocations: 4.887 MB / 321.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.007914, allocations: 1.391 MB / 323.2 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.008163, allocations: 27.75 kB / 323.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.008573, allocations: 127.1 kB / 323.3 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.009258, allocations: 393.8 kB / 323.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.009535, allocations: 147.7 kB / 323.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.01021, allocations: 0.8057 MB / 324.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.01044, allocations: 143 kB / 324.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.01115, allocations: 0.5494 MB / 325.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.01153, allocations: 295.1 kB / 325.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.01158, allocations: 36 kB / 325.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.01164, allocations: 40 kB / 325.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.01181, allocations: 207.4 kB / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.01199, allocations: 179.6 kB / 326.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.01271, allocations: 410.4 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.01271, allocations: 4 kB / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01271, allocations: 0 / 326.5 MB, free: 6.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.01272, allocations: 0 / 326.5 MB, free: 6.305 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009213/0.01364, allocations: 0.7675 MB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01368, allocations: 11.98 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.01378, allocations: 72.88 kB / 327.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.01433, allocations: 407.4 kB / 327.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.01435, allocations: 33.38 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.01441, allocations: 40.38 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.01487, allocations: 416.4 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01489, allocations: 0 / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.01492, allocations: 16 kB / 328.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.01495, allocations: 24.98 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.01517, allocations: 160.5 kB / 328.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.01668, allocations: 1.486 MB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.01701, allocations: 225.5 kB / 330.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.01716, allocations: 124.5 kB / 330.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.01718, allocations: 7.938 kB / 330.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.01742, allocations: 254 kB / 330.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.01742, allocations: 0 / 330.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006219/0.01804, allocations: 484.3 kB / 331 MB, free: 1.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.01811, allocations: 174.1 kB / 331.1 MB, free: 1.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.01837, allocations: 363.1 kB / 331.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01839, allocations: 33.83 kB / 331.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01852, allocations: 253.2 kB / 331.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.0186, allocations: 119 kB / 331.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.0187, allocations: 94.09 kB / 332 MB, free: 464 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01881, allocations: 362.7 kB / 332.3 MB, free: 92 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-05/0.01891, allocations: 73.5 kB / 332.4 MB, free: 12 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01909, allocations: 242.2 kB / 332.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.01938, allocations: 345.2 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.01939, allocations: 7.938 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006292/0.02002, allocations: 339.4 kB / 333.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.02005, allocations: 33.7 kB / 333.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02006, allocations: 8 kB / 333.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.02007, allocations: 8 kB / 333.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.0204, allocations: 115.8 kB / 333.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.02041, allocations: 20.33 kB / 333.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.02059, allocations: 51.67 kB / 333.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.02064, allocations: 23.98 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.02079, allocations: 186.1 kB / 333.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.02084, allocations: 43.95 kB / 333.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.02116, allocations: 285.8 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02116, allocations: 4 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.02117, allocations: 8 kB / 334.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.02117, allocations: 0 / 334.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.02188, allocations: 0.5787 MB / 334.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02189, allocations: 4 kB / 334.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.02211, allocations: 63.89 kB / 334.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.02212, allocations: 0 / 334.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.02214, allocations: 12 kB / 334.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02214, allocations: 7.938 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02214, allocations: 0 / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.0226, allocations: 0.4899 MB / 335.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.02268, allocations: 51.61 kB / 335.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.02272, allocations: 16.05 kB / 335.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.02286, allocations: 11.94 kB / 335.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.02291, allocations: 31.88 kB / 335.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.02296, allocations: 27.97 kB / 335.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.02308, allocations: 144.7 kB / 335.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02308, allocations: 0 / 335.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.02347, allocations: 123.8 kB / 335.6 MB, free: 12.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001125/0.02358, allocations: 84.36 kB / 335.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.02393, allocations: 336.1 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.02394, allocations: 4 kB / 336.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.0241, allocations: 198.3 kB / 336.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.02452, allocations: 103.8 kB / 336.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.02902, allocations: 0.9156 MB / 337.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.02913, allocations: 149.7 kB / 337.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.0293, allocations: 60.25 kB / 337.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.02952, allocations: 147.3 kB / 337.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02952, allocations: 0 / 337.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Templates: time 0.0173/0.04682, allocations: 4.718 MB / 342.3 MB, free: 5.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.938014699611813]