Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002013/0.002013, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.054/2.054, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001124/0.001124, allocations: 94.77 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2686/0.2686, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004563, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 56.31 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5992/0.7185, allocations: 96.38 MB / 0.5619 GB, free: 3.301 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.7189, allocations: 90.73 kB / 0.562 GB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04061/0.7595, allocations: 7.698 MB / 0.5695 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7595, allocations: 0 / 0.5695 GB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.613e-05/0.7596, allocations: 8 kB / 0.5695 GB, free: 12.62 MB / 378.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.001718/0.7613, allocations: 0.6494 MB / 0.5702 GB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7614, allocations: 8.031 kB / 0.5702 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.7615, allocations: 47.83 kB / 0.5702 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.7642, allocations: 0.7364 MB / 0.5709 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.7642, allocations: 15.81 kB / 0.571 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.7643, allocations: 34.94 kB / 0.571 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.7651, allocations: 354 kB / 0.5713 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.7652, allocations: 0 / 0.5713 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.7652, allocations: 10.44 kB / 0.5713 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.7653, allocations: 8 kB / 0.5714 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.766, allocations: 261.7 kB / 0.5716 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.7685, allocations: 1.43 MB / 0.573 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.7689, allocations: 164.4 kB / 0.5732 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.769, allocations: 8.062 kB / 0.5732 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.769, allocations: 38.44 kB / 0.5732 GB, free: 9.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.769, allocations: 0 / 0.5732 GB, free: 9.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001721/0.7708, allocations: 0.6802 MB / 0.5739 GB, free: 8.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.7708, allocations: 85.05 kB / 0.5739 GB, free: 8.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.7713, allocations: 269.1 kB / 0.5742 GB, free: 8.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.7713, allocations: 29.02 kB / 0.5742 GB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.7715, allocations: 265.2 kB / 0.5745 GB, free: 7.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.7716, allocations: 56.52 kB / 0.5745 GB, free: 7.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.7716, allocations: 3 kB / 0.5745 GB, free: 7.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7718, allocations: 322.7 kB / 0.5748 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.7719, allocations: 64.77 kB / 0.5749 GB, free: 7.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.7722, allocations: 166.8 kB / 0.5751 GB, free: 7.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.7725, allocations: 95.62 kB / 0.5752 GB, free: 7.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7725, allocations: 0 / 0.5752 GB, free: 7.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006362/0.7731, allocations: 270.5 kB / 0.5754 GB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.7732, allocations: 8 kB / 0.5754 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7732, allocations: 4 kB / 0.5754 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.7732, allocations: 7.953 kB / 0.5754 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.7737, allocations: 55.91 kB / 0.5755 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.7737, allocations: 7.938 kB / 0.5755 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.7741, allocations: 19.73 kB / 0.5755 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.7741, allocations: 11.81 kB / 0.5755 GB, free: 6.945 MB / 378.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.0002523/0.7744, allocations: 166.2 kB / 0.5757 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.7744, allocations: 31.61 kB / 0.5757 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000638/0.7751, allocations: 231.1 kB / 0.5759 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.7751, allocations: 7.938 kB / 0.5759 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7751, allocations: 0 / 0.5759 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.7751, allocations: 3.984 kB / 0.5759 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.7763, allocations: 0.6314 MB / 0.5766 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7764, allocations: 0 / 0.5766 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.7767, allocations: 42.98 kB / 0.5766 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.7768, allocations: 0 / 0.5766 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.7768, allocations: 4 kB / 0.5766 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.7768, allocations: 3.953 kB / 0.5766 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7768, allocations: 0 / 0.5766 GB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.7777, allocations: 454.1 kB / 0.577 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7778, allocations: 108 kB / 0.5771 GB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.7779, allocations: 11.92 kB / 0.5772 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.7782, allocations: 7.188 kB / 0.5772 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.7782, allocations: 15.23 kB / 0.5772 GB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.7782, allocations: 4 kB / 0.5772 GB, free: 5.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003462/0.7786, allocations: 214.5 kB / 0.5774 GB, free: 5.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7786, allocations: 3.938 kB / 0.5774 GB, free: 5.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.7791, allocations: 58.69 kB / 0.5774 GB, free: 5.176 MB / 378.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.0001739/0.7793, allocations: 110.5 kB / 0.5776 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.7798, allocations: 193.9 kB / 0.5777 GB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7799, allocations: 0 / 0.5777 GB, free: 4.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.7801, allocations: 91.08 kB / 0.5778 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.7807, allocations: 59.25 kB / 0.5779 GB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.7823, allocations: 0.8387 MB / 0.5787 GB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.7829, allocations: 0.8155 MB / 0.5795 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.783, allocations: 23.44 kB / 0.5795 GB, free: 3.117 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.783, allocations: 4 kB / 0.5795 GB, free: 3.113 MB / 378.7 MB Notification: Performance of Templates: time 0.009119/0.7922, allocations: 3.769 MB / 0.5832 GB, free: 15.39 MB / 394.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)