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.001554/0.001554, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001071/0.001071, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9694/0.9694, allocations: 177.1 MB / 205 MB, free: 5.598 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.2344/0.2344, allocations: 29.41 MB / 290.9 MB, free: 2.43 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.633e-06/1.633e-06, allocations: 3.938 kB / 369.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.363e-05, allocations: 2.312 kB / 369.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004473/0.004487, allocations: 4.852 MB / 374.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00347/0.007957, allocations: 1.348 MB / 375.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.008502, allocations: 27.75 kB / 375.9 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.009068, allocations: 131.1 kB / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.01021, allocations: 397.8 kB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.01064, allocations: 151.7 kB / 376.5 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.01166, allocations: 0.7941 MB / 377.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.01197, allocations: 142.3 kB / 377.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.013, allocations: 0.5494 MB / 378 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.01356, allocations: 323 kB / 378.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.01367, allocations: 36 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.01381, allocations: 36 kB / 378.4 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.01407, allocations: 215.4 kB / 378.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.01443, allocations: 179.5 kB / 378.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007912/0.01522, allocations: 414.4 kB / 379.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.01523, allocations: 0 / 379.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01523, allocations: 4 kB / 379.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.01525, allocations: 4 kB / 379.2 MB, free: 1.324 MB / 346.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.001109/0.01636, allocations: 0.9122 MB / 380.1 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.0164, allocations: 19.97 kB / 380.1 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.01652, allocations: 96.52 kB / 380.2 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.017, allocations: 449.3 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01702, allocations: 29.38 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.01707, allocations: 47.94 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01753, allocations: 447.2 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01754, allocations: 3.938 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.01757, allocations: 16 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.0176, allocations: 17 kB / 381.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.01788, allocations: 231.4 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01933, allocations: 1.977 MB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.01969, allocations: 288 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.01987, allocations: 152.5 kB / 383.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01989, allocations: 8 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.02013, allocations: 281.5 kB / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.442e-06/0.02013, allocations: 0 / 384.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00114/0.02127, allocations: 1.035 MB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.02133, allocations: 166.2 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.02163, allocations: 438.6 kB / 385.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.02166, allocations: 29.7 kB / 385.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.02181, allocations: 350.9 kB / 386.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.02188, allocations: 123 kB / 386.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.02197, allocations: 99.78 kB / 386.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.02211, allocations: 0.5313 MB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.02221, allocations: 94.64 kB / 387 MB, free: 9.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.02241, allocations: 331.2 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.02273, allocations: 449.2 kB / 387.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02273, allocations: 0 / 387.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004283/0.02316, allocations: 472.6 kB / 388.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.02319, allocations: 41.8 kB / 388.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.0232, allocations: 7.938 kB / 388.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.02322, allocations: 8 kB / 388.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.02346, allocations: 111.8 kB / 388.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.02347, allocations: 8.062 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.0236, allocations: 27.98 kB / 388.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.02363, allocations: 31.98 kB / 388.4 MB, free: 7.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (60): * Single equations (assignments): 59 * 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.0001364/0.02377, allocations: 230 kB / 388.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.02382, allocations: 67.61 kB / 388.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.02421, allocations: 417.4 kB / 389.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.02422, allocations: 4 kB / 389.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02422, allocations: 0 / 389.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.02422, allocations: 4 kB / 389.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.02501, allocations: 0.8755 MB / 390 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02501, allocations: 0 / 390 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.02517, allocations: 55.97 kB / 390.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.02517, allocations: 0 / 390.1 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.02519, allocations: 24.05 kB / 390.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02519, allocations: 3.938 kB / 390.1 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.0252, allocations: 4 kB / 390.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.02573, allocations: 0.696 MB / 390.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.02581, allocations: 67.62 kB / 390.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.02585, allocations: 12 kB / 390.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.02595, allocations: 8 kB / 390.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.02601, allocations: 31.89 kB / 390.9 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.02604, allocations: 31.95 kB / 390.9 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.0262, allocations: 275.1 kB / 391.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0262, allocations: 4.031 kB / 391.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.02649, allocations: 100 kB / 391.3 MB, free: 4.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 31 * 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.0001056/0.0266, allocations: 117.5 kB / 391.4 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.02696, allocations: 379.9 kB / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02696, allocations: 448 / 391.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.02712, allocations: 240.8 kB / 392 MB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02751, allocations: 104.3 kB / 392.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02898, allocations: 0.9292 MB / 393.1 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.02908, allocations: 149.7 kB / 393.2 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.02924, allocations: 80.2 kB / 393.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.02931, allocations: 32.5 kB / 393.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of SimCode: time 1.183e-06/0.02931, allocations: 3.938 kB / 393.3 MB, free: 2.219 MB / 362.7 MB Notification: Performance of Templates: time 0.006741/0.03605, allocations: 4.573 MB / 397.9 MB, free: 13.74 MB / 378.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1194482459686697]