Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 186 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 1.907/1.907, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001087/0.001087, allocations: 84.91 kB / 267.1 MB, free: 9.277 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.3013/0.3013, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.277e-05, allocations: 4 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 56.31 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.503/0.6049, allocations: 101.3 MB / 0.561 GB, free: 2.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.6053, allocations: 83.95 kB / 0.5611 GB, free: 2.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06982/0.6751, allocations: 15.09 MB / 0.5758 GB, free: 3.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6752, allocations: 0 / 0.5758 GB, free: 3.039 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.027e-05/0.6752, allocations: 12 kB / 0.5758 GB, free: 3.027 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001871/0.6771, allocations: 0.6754 MB / 0.5765 GB, free: 2.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6772, allocations: 8.031 kB / 0.5765 GB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.6782, allocations: 91.38 kB / 0.5766 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.6817, allocations: 0.8526 MB / 0.5774 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.6818, allocations: 28.78 kB / 0.5774 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.682, allocations: 47.86 kB / 0.5775 GB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.6836, allocations: 0.667 MB / 0.5781 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.6836, allocations: 4 kB / 0.5781 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.6837, allocations: 15.98 kB / 0.5782 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/0.684, allocations: 60.69 kB / 0.5782 GB, free: 460 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.6857, allocations: 0.6279 MB / 0.5788 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.6915, allocations: 2.538 MB / 0.5813 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008652/0.6924, allocations: 329.3 kB / 0.5816 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.6929, allocations: 229.7 kB / 0.5818 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.693, allocations: 4 kB / 0.5818 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.693, allocations: 42.5 kB / 0.5819 GB, free: 12.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/0.6931, allocations: 0 / 0.5819 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002933/0.696, allocations: 1.226 MB / 0.5831 GB, free: 11.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.6961, allocations: 85.09 kB / 0.5832 GB, free: 11.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.6965, allocations: 239.5 kB / 0.5834 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.6966, allocations: 25.7 kB / 0.5834 GB, free: 10.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.6968, allocations: 306.1 kB / 0.5837 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.697, allocations: 149.8 kB / 0.5838 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.697, allocations: 8 kB / 0.5839 GB, free: 10.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6972, allocations: 338.8 kB / 0.5842 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.6977, allocations: 204.9 kB / 0.5844 GB, free: 9.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.6983, allocations: 323.2 kB / 0.5847 GB, free: 9.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006193/0.6989, allocations: 257 kB / 0.5849 GB, free: 9.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.699, allocations: 4 kB / 0.5849 GB, free: 9.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001965/0.7009, allocations: 0.6741 MB / 0.5856 GB, free: 8.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.701, allocations: 8 kB / 0.5856 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001449/0.7025, allocations: 0.5233 MB / 0.5861 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/0.7031, allocations: 113.6 kB / 0.5862 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.7038, allocations: 79.81 kB / 0.5863 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.7076, allocations: 3.007 MB / 0.5892 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.7082, allocations: 27.92 kB / 0.5893 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.7083, allocations: 20.23 kB / 0.5893 GB, free: 4.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.7085, allocations: 129.8 kB / 0.5894 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.7086, allocations: 35.53 kB / 0.5894 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.7099, allocations: 0.5201 MB / 0.5899 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/0.71, allocations: 15.98 kB / 0.59 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.71, allocations: 0 / 0.59 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.71, allocations: 0 / 0.59 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.7127, allocations: 1.083 MB / 0.591 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.7128, allocations: 0 / 0.591 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.7136, allocations: 75.94 kB / 0.5911 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.7136, allocations: 4 kB / 0.5911 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.7137, allocations: 11.95 kB / 0.5911 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.7137, allocations: 0 / 0.5911 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7137, allocations: 0 / 0.5911 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.7155, allocations: 0.856 MB / 0.5919 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.7158, allocations: 148.6 kB / 0.5921 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.7159, allocations: 11.98 kB / 0.5921 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.7163, allocations: 23.91 kB / 0.5921 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.7164, allocations: 12.22 kB / 0.5921 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.7165, allocations: 12 kB / 0.5921 GB, free: 1.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.7168, allocations: 199.1 kB / 0.5923 GB, free: 1.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7168, allocations: 3.938 kB / 0.5923 GB, free: 1.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007786/0.7176, allocations: 135.9 kB / 0.5925 GB, free: 1.125 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * 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.0003404/0.718, allocations: 147.1 kB / 0.5926 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.7197, allocations: 0.7453 MB / 0.5933 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7197, allocations: 0 / 0.5933 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005682/0.7203, allocations: 236.3 kB / 0.5935 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.7209, allocations: 56.64 kB / 0.5936 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.7232, allocations: 0.9615 MB / 0.5945 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.7239, allocations: 0.8827 MB / 0.5954 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.7241, allocations: 31.44 kB / 0.5954 GB, free: 13.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7242, allocations: 7.938 kB / 0.5954 GB, free: 13.96 MB / 442.7 MB Notification: Performance of Templates: time 0.0159/0.7401, allocations: 6.876 MB / 0.6022 GB, free: 7.086 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)