Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 191.3 kB / 15.77 MB, free: 5.988 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.007/2.007, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001117/0.001117, allocations: 106.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2747/0.2747, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006783/0.0006784, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1488, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008947/0.1578, allocations: 5.566 MB / 484.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.1619, allocations: 1.607 MB / 486.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.1625, allocations: 35.75 kB / 486.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.163, allocations: 115.2 kB / 486.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.1643, allocations: 335 kB / 486.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.165, allocations: 159.7 kB / 486.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.1658, allocations: 387.2 kB / 487.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.1662, allocations: 150.5 kB / 487.4 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.1668, allocations: 251 kB / 487.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.1674, allocations: 255.2 kB / 487.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.1675, allocations: 20 kB / 487.9 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1676, allocations: 20 kB / 487.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.1679, allocations: 159.6 kB / 488 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.1681, allocations: 113.5 kB / 488.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.1687, allocations: 399 kB / 488.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1687, allocations: 0 / 488.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.941e-06/0.1687, allocations: 0 / 488.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1687, allocations: 3.938 kB / 488.6 MB, free: 8.469 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001778/0.1705, allocations: 0.7228 MB / 489.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1706, allocations: 8.031 kB / 489.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1707, allocations: 55.34 kB / 489.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1718, allocations: 451.4 kB / 489.8 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.1719, allocations: 32.94 kB / 489.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.172, allocations: 36 kB / 489.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1732, allocations: 0.4883 MB / 490.3 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.1732, allocations: 4 kB / 490.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.1733, allocations: 19.95 kB / 490.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/0.1734, allocations: 17 kB / 490.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.1743, allocations: 367.6 kB / 490.7 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.1782, allocations: 2.099 MB / 492.8 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/0.179, allocations: 241.8 kB / 493.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.179, allocations: 192 / 493.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.1791, allocations: 46.8 kB / 493.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.1791, allocations: 0 / 493.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002213/0.1813, allocations: 0.9463 MB / 494.1 MB, free: 2.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1814, allocations: 85.23 kB / 494.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.182, allocations: 381.5 kB / 494.5 MB, free: 2.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.182, allocations: 25.7 kB / 494.5 MB, free: 2.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1823, allocations: 341.4 kB / 494.9 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.1824, allocations: 74.91 kB / 494.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.1824, allocations: 12 kB / 495 MB, free: 1.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1826, allocations: 322.8 kB / 495.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1828, allocations: 84.83 kB / 495.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.1832, allocations: 289.1 kB / 495.6 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.1836, allocations: 139.6 kB / 495.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1836, allocations: 0 / 495.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001113/0.1847, allocations: 438.3 kB / 496.2 MB, free: 292 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1848, allocations: 8 kB / 496.2 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.1848, allocations: 12.06 kB / 496.2 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.1851, allocations: 56.83 kB / 496.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.1856, allocations: 87.77 kB / 496.4 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.1879, allocations: 1.621 MB / 498 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.1883, allocations: 15.98 kB / 498 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.1884, allocations: 24 kB / 498 MB, free: 14.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.1887, allocations: 205.6 kB / 498.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.1888, allocations: 43.59 kB / 498.3 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.1895, allocations: 335 kB / 498.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1896, allocations: 0 / 498.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1896, allocations: 4 kB / 498.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.1896, allocations: 3.984 kB / 498.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.191, allocations: 0.7859 MB / 499.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.191, allocations: 4 kB / 499.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1914, allocations: 39.92 kB / 499.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.1916, allocations: 20.84 kB / 499.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1916, allocations: 8 kB / 499.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.193, allocations: 1.392 MB / 0.4891 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.193, allocations: 0 / 0.4891 GB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.194, allocations: 0.5574 MB / 0.4897 GB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1942, allocations: 120.7 kB / 0.4898 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.1943, allocations: 8 kB / 0.4898 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.1945, allocations: 4 kB / 0.4898 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.1946, allocations: 27.92 kB / 0.4898 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1946, allocations: 4 kB / 0.4898 GB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004157/0.1951, allocations: 255.2 kB / 0.4901 GB, free: 10.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1951, allocations: 0 / 0.4901 GB, free: 10.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007322/0.1958, allocations: 88 kB / 0.4901 GB, free: 10.12 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001509/0.196, allocations: 103.2 kB / 0.4902 GB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009877/0.197, allocations: 402.5 kB / 0.4906 GB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.197, allocations: 0 / 0.4906 GB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.1974, allocations: 212 kB / 0.4908 GB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.1981, allocations: 81.59 kB / 0.4909 GB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.2003, allocations: 1.087 MB / 0.492 GB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.201, allocations: 0.8701 MB / 0.4928 GB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2011, allocations: 31.44 kB / 0.4928 GB, free: 7.246 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2011, allocations: 4 kB / 0.4928 GB, free: 7.242 MB / 346.7 MB Notification: Performance of Templates: time 0.01585/0.217, allocations: 6.585 MB / 0.4993 GB, free: 0.6562 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)