Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 173 kB / 16.76 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.000704/0.000704, allocations: 86.16 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.191/0.191, allocations: 38.07 MB / 357.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000806/0.0008062, allocations: 8 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9352/0.936, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3336/1.27, allocations: 94.25 MB / 0.561 GB, free: 8.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007029/1.271, allocations: 95.94 kB / 0.5611 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/1.296, allocations: 6.133 MB / 0.5671 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.47e-06/1.296, allocations: 0 / 0.5671 GB, free: 1.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.014e-05/1.296, allocations: 4 kB / 0.5671 GB, free: 1.824 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001635/1.297, allocations: 0.5358 MB / 0.5677 GB, free: 1.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.717e-05/1.298, allocations: 8.031 kB / 0.5677 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/1.298, allocations: 32.5 kB / 0.5677 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.299, allocations: 475.5 kB / 0.5681 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/1.299, allocations: 12.81 kB / 0.5682 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/1.299, allocations: 28.31 kB / 0.5682 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/1.3, allocations: 270.6 kB / 0.5684 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.3, allocations: 3.938 kB / 0.5684 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/1.3, allocations: 8 kB / 0.5685 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/1.3, allocations: 4 kB / 0.5685 GB, free: 360 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/1.3, allocations: 163.8 kB / 0.5686 GB, free: 196 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/1.303, allocations: 1.183 MB / 0.5698 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/1.303, allocations: 73.16 kB / 0.5698 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/1.303, allocations: 33.72 kB / 0.5699 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/1.303, allocations: 0 / 0.5699 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/1.303, allocations: 34.56 kB / 0.5699 GB, free: 14.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.303, allocations: 0 / 0.5699 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001775/1.305, allocations: 409.1 kB / 0.5703 GB, free: 14.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.305, allocations: 85.05 kB / 0.5704 GB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/1.305, allocations: 238.5 kB / 0.5706 GB, free: 13.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/1.305, allocations: 29.69 kB / 0.5706 GB, free: 13.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/1.306, allocations: 191.8 kB / 0.5708 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/1.306, allocations: 27.56 kB / 0.5708 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/1.306, allocations: 4 kB / 0.5708 GB, free: 13.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003167/1.306, allocations: 334.8 kB / 0.5712 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/1.306, allocations: 27.92 kB / 0.5712 GB, free: 13.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/1.307, allocations: 124.9 kB / 0.5713 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/1.307, allocations: 164.6 kB / 0.5715 GB, free: 12.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.307, allocations: 0 / 0.5715 GB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000457/1.307, allocations: 181.4 kB / 0.5716 GB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.307, allocations: 12.05 kB / 0.5717 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.308, allocations: 4 kB / 0.5717 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.774e-05/1.308, allocations: 8 kB / 0.5717 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/1.308, allocations: 39.92 kB / 0.5717 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/1.308, allocations: 4 kB / 0.5717 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.308, allocations: 15.88 kB / 0.5717 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/1.308, allocations: 15.92 kB / 0.5717 GB, free: 12.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (22): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003041/1.308, allocations: 149.7 kB / 0.5719 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/1.308, allocations: 15.81 kB / 0.5719 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/1.309, allocations: 103.4 kB / 0.572 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.309, allocations: 0 / 0.572 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.309, allocations: 0 / 0.572 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.309, allocations: 4 kB / 0.572 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/1.31, allocations: 423.4 kB / 0.5724 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.31, allocations: 0 / 0.5724 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.31, allocations: 24.36 kB / 0.5724 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.31, allocations: 0 / 0.5724 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/1.31, allocations: 11.97 kB / 0.5724 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.31, allocations: 12.02 kB / 0.5724 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.31, allocations: 3.984 kB / 0.5724 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/1.31, allocations: 217 kB / 0.5727 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.311, allocations: 96.86 kB / 0.5727 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/1.311, allocations: 8.047 kB / 0.5728 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.311, allocations: 11.94 kB / 0.5728 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/1.311, allocations: 0 / 0.5728 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.311, allocations: 4 kB / 0.5728 GB, free: 11.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002743/1.311, allocations: 170 kB / 0.5729 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.311, allocations: 0 / 0.5729 GB, free: 11.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003956/1.311, allocations: 44 kB / 0.573 GB, free: 11.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0003368/1.312, allocations: 110.9 kB / 0.5731 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/1.312, allocations: 83.84 kB / 0.5732 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.312, allocations: 0 / 0.5732 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/1.312, allocations: 27.92 kB / 0.5732 GB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/1.313, allocations: 46.05 kB / 0.5732 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/1.315, allocations: 0.6662 MB / 0.5739 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.316, allocations: 0.756 MB / 0.5746 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/1.316, allocations: 19.44 kB / 0.5746 GB, free: 9.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/1.316, allocations: 0 / 0.5746 GB, free: 9.5 MB / 410.7 MB Notification: Performance of Templates: time 0.007929/1.324, allocations: 2.619 MB / 0.5772 GB, free: 6.883 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)