Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 179 kB / 15.77 MB, free: 6.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2735/0.2735, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 19.98 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.009284/0.1146, allocations: 5.582 MB / 484.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.1189, allocations: 1.654 MB / 486.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.1196, allocations: 35.75 kB / 486.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.1202, allocations: 119.2 kB / 486.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1218, allocations: 350.8 kB / 486.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.1227, allocations: 175.7 kB / 486.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.1237, allocations: 419.1 kB / 487.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.1241, allocations: 164 kB / 487.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.1248, allocations: 255 kB / 487.7 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.1255, allocations: 275 kB / 488 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1256, allocations: 20 kB / 488 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1257, allocations: 28 kB / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.126, allocations: 163.5 kB / 488.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1262, allocations: 117.5 kB / 488.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.1268, allocations: 430.8 kB / 488.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1269, allocations: 0 / 488.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1269, allocations: 0 / 488.8 MB, free: 8.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1269, allocations: 0 / 488.8 MB, free: 8.254 MB / 330.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.00207/0.129, allocations: 0.8023 MB / 489.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.129, allocations: 12.03 kB / 489.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1292, allocations: 63.2 kB / 489.6 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1304, allocations: 477.5 kB / 490.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.1305, allocations: 33 kB / 490.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.1306, allocations: 39.98 kB / 490.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1319, allocations: 0.5352 MB / 490.7 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.132, allocations: 3.938 kB / 490.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.132, allocations: 16 kB / 490.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.1321, allocations: 24.95 kB / 490.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.1332, allocations: 391.6 kB / 491.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00383/0.137, allocations: 1.936 MB / 493.1 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.1385, allocations: 337.2 kB / 493.4 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.1386, allocations: 12.02 kB / 493.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007857/0.1394, allocations: 272.2 kB / 493.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 3.417e-06/0.1394, allocations: 0 / 493.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004634/0.144, allocations: 1.449 MB / 495.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.1442, allocations: 166.2 kB / 495.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/0.1451, allocations: 385.9 kB / 495.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.1452, allocations: 41.64 kB / 495.7 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.1457, allocations: 334 kB / 496 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.1459, allocations: 114.4 kB / 496.1 MB, free: 404 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.1459, allocations: 12 kB / 496.2 MB, free: 392 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1462, allocations: 334.8 kB / 496.5 MB, free: 48 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.1467, allocations: 121 kB / 496.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.1474, allocations: 282.1 kB / 496.9 MB, free: 15.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.1481, allocations: 193.5 kB / 497.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.1481, allocations: 4 kB / 497.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0019/0.15, allocations: 0.5834 MB / 497.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.1501, allocations: 37.69 kB / 497.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.1501, allocations: 4 kB / 497.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.1504, allocations: 28.8 kB / 497.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.1514, allocations: 107.8 kB / 497.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.1533, allocations: 1.389 MB / 499.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.154, allocations: 24.25 kB / 499.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.1542, allocations: 35.97 kB / 499.3 MB, free: 13 MB / 346.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,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.1548, allocations: 255.2 kB / 499.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.155, allocations: 43.44 kB / 499.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.1568, allocations: 0.544 MB / 0.4884 GB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.1569, allocations: 11.94 kB / 0.4884 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1569, allocations: 0 / 0.4884 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.1569, allocations: 4 kB / 0.4884 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.1602, allocations: 1.073 MB / 0.4895 GB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.1603, allocations: 0 / 0.4895 GB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.161, allocations: 59.91 kB / 0.4895 GB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.1612, allocations: 28.94 kB / 0.4895 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.1612, allocations: 12 kB / 0.4895 GB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.1631, allocations: 1.373 MB / 0.4909 GB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1631, allocations: 0 / 0.4909 GB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.1658, allocations: 0.8321 MB / 0.4917 GB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.1663, allocations: 148.5 kB / 0.4918 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.1665, allocations: 8 kB / 0.4919 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.1671, allocations: 19.98 kB / 0.4919 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1672, allocations: 23.91 kB / 0.4919 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.1674, allocations: 35.95 kB / 0.4919 GB, free: 8.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006763/0.1681, allocations: 271.1 kB / 0.4922 GB, free: 7.914 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1681, allocations: 4 kB / 0.4922 GB, free: 7.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001441/0.1696, allocations: 100 kB / 0.4923 GB, free: 7.812 MB / 346.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): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002669/0.1699, allocations: 115.2 kB / 0.4924 GB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.1717, allocations: 0.5139 MB / 0.4929 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1717, allocations: 0 / 0.4929 GB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009831/0.1727, allocations: 378.4 kB / 0.4933 GB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.1739, allocations: 90.14 kB / 0.4933 GB, free: 6.664 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.1776, allocations: 1.237 MB / 0.4946 GB, free: 5.395 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/0.1785, allocations: 0.8976 MB / 0.4954 GB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.1788, allocations: 39.44 kB / 0.4955 GB, free: 4.434 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1789, allocations: 0 / 0.4955 GB, free: 4.434 MB / 346.7 MB Notification: Performance of Templates: time 0.02497/0.2039, allocations: 7.56 MB / 0.5028 GB, free: 12.87 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)