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.0009866/0.0009866, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002291, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001064/0.001064, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002445, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9254/0.9254, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07886/1.004, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.1234/0.1234, allocations: 29.42 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.144/0.2673, allocations: 9.527 MB / 282.9 MB, free: 12.84 MB / 282.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.313e-06/1.313e-06, allocations: 3.938 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.711e-05, allocations: 3.297 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004509/0.004526, allocations: 4.908 MB / 289.1 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.00625, allocations: 1.407 MB / 290.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.006431, allocations: 24.19 kB / 290.6 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.006727, allocations: 121.8 kB / 290.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.007228, allocations: 393 kB / 291.1 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.007436, allocations: 145.6 kB / 291.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.007958, allocations: 0.7991 MB / 292 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.008147, allocations: 147.5 kB / 292.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.008766, allocations: 0.5541 MB / 292.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.009193, allocations: 300.9 kB / 293 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.009243, allocations: 36.84 kB / 293 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.009304, allocations: 36.19 kB / 293.1 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.009446, allocations: 187.1 kB / 293.2 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.009598, allocations: 154.2 kB / 293.4 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.009976, allocations: 384 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.009991, allocations: 1.312 kB / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.009992, allocations: 0 / 293.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.01001, allocations: 0 / 293.8 MB, free: 5.121 MB / 282.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.0008664/0.01087, allocations: 0.8938 MB / 294.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.0109, allocations: 12.03 kB / 294.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.01098, allocations: 68.89 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.0114, allocations: 411.5 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.01142, allocations: 32.94 kB / 295.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.01147, allocations: 43.98 kB / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.01185, allocations: 404.5 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01187, allocations: 0 / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.01189, allocations: 19.98 kB / 295.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.01192, allocations: 21 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.01211, allocations: 176.5 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.01351, allocations: 1.478 MB / 297.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.01377, allocations: 225.6 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01388, allocations: 120.1 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.0139, allocations: 7.938 kB / 297.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.0141, allocations: 258 kB / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/0.0141, allocations: 0 / 297.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004831/0.01459, allocations: 0.501 MB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.01464, allocations: 158.2 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.01484, allocations: 367.2 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01486, allocations: 33.7 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.01496, allocations: 253.1 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.01502, allocations: 122.9 kB / 299.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/0.01509, allocations: 86.16 kB / 299.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.01518, allocations: 362.7 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.01524, allocations: 77.5 kB / 299.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.01537, allocations: 234.5 kB / 300.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01559, allocations: 352.4 kB / 300.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01559, allocations: 7.938 kB / 300.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002676/0.01586, allocations: 351.1 kB / 300.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.01589, allocations: 33.7 kB / 300.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.0159, allocations: 12.66 kB / 300.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.01591, allocations: 12 kB / 300.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.01618, allocations: 127.8 kB / 300.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01619, allocations: 8 kB / 300.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.01632, allocations: 47.69 kB / 301 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.01636, allocations: 31.97 kB / 301 MB, free: 13.4 MB / 298.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.000119/0.01648, allocations: 178.2 kB / 301.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.01652, allocations: 39.97 kB / 301.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.01678, allocations: 305.9 kB / 301.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01678, allocations: 8 kB / 301.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01678, allocations: 0 / 301.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01678, allocations: 3.984 kB / 301.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.01729, allocations: 0.5826 MB / 302.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.0173, allocations: 0 / 302.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.01747, allocations: 71.89 kB / 302.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.01754, allocations: 63.53 kB / 302.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01754, allocations: 0 / 302.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01756, allocations: 15.97 kB / 302.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01756, allocations: 4 kB / 302.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01756, allocations: 0 / 302.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.0179, allocations: 0.4974 MB / 302.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.01794, allocations: 8 kB / 302.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.01803, allocations: 12 kB / 302.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.01807, allocations: 23.95 kB / 302.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.0181, allocations: 27.97 kB / 302.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.01819, allocations: 136.7 kB / 303 MB, free: 11.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01819, allocations: 0 / 303 MB, free: 11.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01845, allocations: 123.8 kB / 303.1 MB, free: 11.19 MB / 298.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 9.1e-05/0.01854, allocations: 96.34 kB / 303.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.01879, allocations: 341.2 kB / 303.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.01881, allocations: 8 kB / 303.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01892, allocations: 194.3 kB / 303.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.01951, allocations: 149.7 kB / 303.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.02473, allocations: 0.9134 MB / 304.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.02481, allocations: 149.7 kB / 304.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.02496, allocations: 60.23 kB / 305 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.02514, allocations: 143.3 kB / 305.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02514, allocations: 0 / 305.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of Templates: time 0.006721/0.03186, allocations: 4.78 MB / 309.9 MB, free: 4.387 MB / 298.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: 2.5992822432890534]