Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002148/0.002148, allocations: 184.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 95.94 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2684/0.2684, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.111e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 56.32 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5092/0.6107, allocations: 93.85 MB / 0.5537 GB, free: 9.879 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.6111, allocations: 87.95 kB / 0.5538 GB, free: 9.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03047/0.6416, allocations: 6.467 MB / 0.5601 GB, free: 3.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6416, allocations: 0 / 0.5601 GB, free: 3.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.003e-05/0.6417, allocations: 4 kB / 0.5601 GB, free: 3.258 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001225/0.6429, allocations: 0.5237 MB / 0.5606 GB, free: 2.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.643, allocations: 8.031 kB / 0.5606 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.6431, allocations: 47.56 kB / 0.5607 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.6457, allocations: 0.6496 MB / 0.5613 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.6458, allocations: 16.44 kB / 0.5613 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.646, allocations: 35.98 kB / 0.5613 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.6467, allocations: 289.8 kB / 0.5616 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6467, allocations: 0 / 0.5616 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.6468, allocations: 7.953 kB / 0.5616 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.6468, allocations: 12 kB / 0.5616 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.6473, allocations: 179.8 kB / 0.5618 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.6497, allocations: 1.28 MB / 0.5631 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.6502, allocations: 123.8 kB / 0.5632 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.6503, allocations: 50.58 kB / 0.5632 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.6503, allocations: 3.938 kB / 0.5632 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6504, allocations: 34.56 kB / 0.5633 GB, free: 15.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.6504, allocations: 0 / 0.5633 GB, free: 15.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001294/0.6517, allocations: 0.5154 MB / 0.5638 GB, free: 15.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.6518, allocations: 102.8 kB / 0.5639 GB, free: 15.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.6521, allocations: 215 kB / 0.5641 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.6522, allocations: 33.69 kB / 0.5641 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.6524, allocations: 242.2 kB / 0.5643 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.6524, allocations: 39.45 kB / 0.5644 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.6525, allocations: 8.062 kB / 0.5644 GB, free: 14.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6526, allocations: 318.8 kB / 0.5647 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6527, allocations: 40 kB / 0.5647 GB, free: 14.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.6529, allocations: 129.2 kB / 0.5648 GB, free: 13.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.6531, allocations: 61.02 kB / 0.5649 GB, free: 13.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6532, allocations: 0 / 0.5649 GB, free: 13.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006227/0.6538, allocations: 214.4 kB / 0.5651 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6538, allocations: 13.98 kB / 0.5651 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6539, allocations: 4 kB / 0.5651 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.6541, allocations: 28.78 kB / 0.5651 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.6547, allocations: 63.94 kB / 0.5652 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.6548, allocations: 7.938 kB / 0.5652 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.655, allocations: 11.94 kB / 0.5652 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.6551, allocations: 16 kB / 0.5652 GB, free: 13.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.6552, allocations: 117 kB / 0.5654 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.6553, allocations: 23.72 kB / 0.5654 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.6558, allocations: 155.3 kB / 0.5655 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6558, allocations: 0 / 0.5655 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6558, allocations: 0 / 0.5655 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6558, allocations: 4 kB / 0.5655 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.6564, allocations: 289.5 kB / 0.5658 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6564, allocations: 8 kB / 0.5658 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.6567, allocations: 31.92 kB / 0.5658 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.6568, allocations: 4 kB / 0.5658 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6568, allocations: 0 / 0.5658 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.6568, allocations: 11.94 kB / 0.5659 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6568, allocations: 0 / 0.5659 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.6574, allocations: 389.5 kB / 0.5662 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.864e-05/0.6576, allocations: 108.7 kB / 0.5663 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.6576, allocations: 4 kB / 0.5663 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.6578, allocations: 96 / 0.5663 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.6579, allocations: 15.92 kB / 0.5664 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.6579, allocations: 8 kB / 0.5664 GB, free: 12.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.6582, allocations: 163.1 kB / 0.5665 GB, free: 12.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.475e-06/0.6582, allocations: 8.062 kB / 0.5665 GB, free: 12.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.6587, allocations: 47.94 kB / 0.5666 GB, free: 12.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.6589, allocations: 107.2 kB / 0.5667 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.6594, allocations: 213.7 kB / 0.5669 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6594, allocations: 0.8125 kB / 0.5669 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.6595, allocations: 55.98 kB / 0.5669 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.6601, allocations: 49.36 kB / 0.567 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6613, allocations: 470.6 kB / 0.5674 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.6618, allocations: 0.7796 MB / 0.5682 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.6619, allocations: 23.42 kB / 0.5682 GB, free: 10.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6619, allocations: 0 / 0.5682 GB, free: 10.32 MB / 410.7 MB Notification: Performance of Templates: time 0.008538/0.6704, allocations: 3.43 MB / 0.5716 GB, free: 6.883 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)