Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002207/0.002207, allocations: 173.3 kB / 16.76 MB, free: 5.051 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.785/2.785, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.001042/0.001042, allocations: 94.41 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3617/0.3617, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005749/0.000575, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3734, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.5467, allocations: 96.41 MB / 0.5632 GB, free: 5.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.5471, allocations: 99.94 kB / 0.5632 GB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02959/0.5767, allocations: 7.665 MB / 0.5707 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5768, allocations: 0 / 0.5707 GB, free: 14.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.5768, allocations: 15.86 kB / 0.5708 GB, free: 14.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001577/0.5784, allocations: 0.6491 MB / 0.5714 GB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5785, allocations: 8.031 kB / 0.5714 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.5786, allocations: 44.47 kB / 0.5714 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.58, allocations: 0.4916 MB / 0.5719 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.58, allocations: 20.94 kB / 0.5719 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.5801, allocations: 24.38 kB / 0.572 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007927/0.5809, allocations: 361.3 kB / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.581, allocations: 3.938 kB / 0.5723 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.581, allocations: 12 kB / 0.5723 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.581, allocations: 8 kB / 0.5723 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.5817, allocations: 253.9 kB / 0.5726 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.5842, allocations: 1.45 MB / 0.574 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.5846, allocations: 161 kB / 0.5741 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.5848, allocations: 81.98 kB / 0.5742 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.5848, allocations: 8 kB / 0.5742 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5849, allocations: 38.5 kB / 0.5743 GB, free: 10.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.005e-06/0.5849, allocations: 0 / 0.5743 GB, free: 10.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001788/0.5867, allocations: 0.6691 MB / 0.5749 GB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.5868, allocations: 85.11 kB / 0.575 GB, free: 9.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.5873, allocations: 304.6 kB / 0.5753 GB, free: 9.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.5873, allocations: 25.7 kB / 0.5753 GB, free: 9.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.5875, allocations: 211.6 kB / 0.5755 GB, free: 8.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.5876, allocations: 55.2 kB / 0.5756 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.5876, allocations: 4 kB / 0.5756 GB, free: 8.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5878, allocations: 346.7 kB / 0.5759 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.588, allocations: 63.89 kB / 0.576 GB, free: 8.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.5883, allocations: 170.3 kB / 0.5761 GB, free: 8.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.5888, allocations: 260.6 kB / 0.5764 GB, free: 7.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5888, allocations: 0 / 0.5764 GB, free: 7.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000657/0.5895, allocations: 284.6 kB / 0.5766 GB, free: 7.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.5895, allocations: 8 kB / 0.5766 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5895, allocations: 7.984 kB / 0.5767 GB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.5896, allocations: 4 kB / 0.5767 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.59, allocations: 59.91 kB / 0.5767 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.59, allocations: 7.938 kB / 0.5767 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.5903, allocations: 19.92 kB / 0.5767 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5903, allocations: 8 kB / 0.5768 GB, free: 7.504 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 (29): * Single equations (assignments): 29 * 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.0002702/0.5906, allocations: 177.9 kB / 0.5769 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.5907, allocations: 31.61 kB / 0.577 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.5913, allocations: 231.5 kB / 0.5772 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.5913, allocations: 0 / 0.5772 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5913, allocations: 4 kB / 0.5772 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5913, allocations: 3.938 kB / 0.5772 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5925, allocations: 0.624 MB / 0.5778 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5925, allocations: 0 / 0.5778 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.5928, allocations: 47.84 kB / 0.5778 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.5929, allocations: 0 / 0.5778 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.5929, allocations: 7.938 kB / 0.5778 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5929, allocations: 7.938 kB / 0.5779 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5929, allocations: 0 / 0.5779 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.5937, allocations: 433.3 kB / 0.5783 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5939, allocations: 100.9 kB / 0.5784 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.5939, allocations: 7.938 kB / 0.5784 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.5942, allocations: 7.984 kB / 0.5784 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.5943, allocations: 15.98 kB / 0.5784 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.5943, allocations: 4 kB / 0.5784 GB, free: 5.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000331/0.5946, allocations: 211 kB / 0.5786 GB, free: 5.504 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5946, allocations: 0 / 0.5786 GB, free: 5.504 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006159/0.5953, allocations: 68 kB / 0.5787 GB, free: 5.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001959/0.5955, allocations: 111.2 kB / 0.5788 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.596, allocations: 183.7 kB / 0.5789 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.596, allocations: 0 / 0.5789 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.5962, allocations: 92.7 kB / 0.579 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.597, allocations: 72.67 kB / 0.5791 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5988, allocations: 0.827 MB / 0.5799 GB, free: 4.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.5994, allocations: 0.8067 MB / 0.5807 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5996, allocations: 23.44 kB / 0.5807 GB, free: 3.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.776e-06/0.5996, allocations: 4 kB / 0.5807 GB, free: 3.246 MB / 410.7 MB Notification: Performance of Templates: time 0.01012/0.6097, allocations: 3.819 MB / 0.5844 GB, free: 15.43 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)