Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 185.1 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.105/2.105, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001085/0.001085, allocations: 95.8 kB / 267.1 MB, free: 9.27 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.2656/0.2656, allocations: 37.97 MB / 353.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.432e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 56.31 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.55, allocations: 94.12 MB / 0.554 GB, free: 9.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.5504, allocations: 87.95 kB / 0.554 GB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03162/0.582, allocations: 6.146 MB / 0.56 GB, free: 3.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5821, allocations: 4 kB / 0.56 GB, free: 3.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.472e-05/0.5821, allocations: 4 kB / 0.56 GB, free: 3.328 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.00135/0.5835, allocations: 0.504 MB / 0.5605 GB, free: 2.777 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.5836, allocations: 8.031 kB / 0.5605 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.5837, allocations: 35.92 kB / 0.5606 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/0.5882, allocations: 0.7478 MB / 0.5613 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.5883, allocations: 16.44 kB / 0.5613 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.5885, allocations: 20 kB / 0.5613 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.5894, allocations: 258.1 kB / 0.5616 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.5894, allocations: 3.984 kB / 0.5616 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.5895, allocations: 12 kB / 0.5616 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.5896, allocations: 4 kB / 0.5616 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.5903, allocations: 155.8 kB / 0.5618 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.5931, allocations: 1.183 MB / 0.5629 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.5935, allocations: 77.25 kB / 0.563 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.5936, allocations: 37.81 kB / 0.563 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.5937, allocations: 0 / 0.563 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.5937, allocations: 34.56 kB / 0.5631 GB, free: 0 / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 7.655e-06/0.5938, allocations: 7.984 kB / 0.5631 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001269/0.5951, allocations: 392.8 kB / 0.5634 GB, free: 15.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.5952, allocations: 81.11 kB / 0.5635 GB, free: 15.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.5957, allocations: 218.8 kB / 0.5637 GB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.5957, allocations: 25.7 kB / 0.5638 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.596, allocations: 250 kB / 0.564 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.5961, allocations: 35.66 kB / 0.564 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.5961, allocations: 4 kB / 0.564 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5963, allocations: 318.8 kB / 0.5643 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.5964, allocations: 24.38 kB / 0.5644 GB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5967, allocations: 121.6 kB / 0.5645 GB, free: 14.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.597, allocations: 47.92 kB / 0.5645 GB, free: 14.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.597, allocations: 0 / 0.5645 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006271/0.5976, allocations: 165.3 kB / 0.5647 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.5977, allocations: 8 kB / 0.5647 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5977, allocations: 4 kB / 0.5647 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.5978, allocations: 4 kB / 0.5647 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.5982, allocations: 47.86 kB / 0.5647 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.5983, allocations: 7.984 kB / 0.5647 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.5986, allocations: 4.406 kB / 0.5647 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.5986, allocations: 16 kB / 0.5648 GB, free: 14.11 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 () * 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.0001554/0.5988, allocations: 120.8 kB / 0.5649 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.5989, allocations: 23.72 kB / 0.5649 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.5993, allocations: 95.44 kB / 0.565 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.5993, allocations: 4 kB / 0.565 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5994, allocations: 0 / 0.565 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5994, allocations: 3.984 kB / 0.565 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.6004, allocations: 419.3 kB / 0.5654 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6004, allocations: 0 / 0.5654 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.6007, allocations: 12 kB / 0.5654 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.6007, allocations: 7.984 kB / 0.5654 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.6008, allocations: 4 kB / 0.5654 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.6008, allocations: 0 / 0.5654 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.6008, allocations: 4 kB / 0.5654 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.6014, allocations: 252.4 kB / 0.5657 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.6015, allocations: 96.88 kB / 0.5658 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.6016, allocations: 4 kB / 0.5658 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6019, allocations: 11.89 kB / 0.5658 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.6019, allocations: 4 kB / 0.5658 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.602, allocations: 8.172 kB / 0.5658 GB, free: 12.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003483/0.6023, allocations: 171.2 kB / 0.5659 GB, free: 12.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.6024, allocations: 0 / 0.5659 GB, free: 12.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007106/0.6031, allocations: 40 kB / 0.566 GB, free: 12.73 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 () * 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.000212/0.6033, allocations: 107 kB / 0.5661 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.6037, allocations: 88.55 kB / 0.5662 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6038, allocations: 0 / 0.5662 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.6039, allocations: 28.06 kB / 0.5662 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.6048, allocations: 52.48 kB / 0.5662 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.6062, allocations: 366.8 kB / 0.5666 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.6069, allocations: 0.7638 MB / 0.5673 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.607, allocations: 19.44 kB / 0.5674 GB, free: 11.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.023e-06/0.607, allocations: 4 kB / 0.5674 GB, free: 11.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01067/0.6177, allocations: 2.589 MB / 0.5699 GB, free: 8.645 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)