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.001502/0.001506, allocations: 182.5 kB / 15.76 MB, free: 6.34 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.981/1.981, allocations: 205.4 MB / 221.9 MB, free: 13.74 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.001091/0.001091, allocations: 98.75 kB / 270.2 MB, free: 13.28 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.2561/0.2561, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.0006101, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6311, allocations: 101.4 MB / 0.5669 GB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/0.6315, allocations: 92.11 kB / 0.567 GB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.7403, allocations: 15.12 MB / 0.5817 GB, free: 1.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7403, allocations: 0 / 0.5817 GB, free: 1.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.886e-05/0.7404, allocations: 16 kB / 0.5817 GB, free: 1.426 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006658/0.7471, allocations: 0.7252 MB / 0.5824 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7471, allocations: 8.031 kB / 0.5824 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.7485, allocations: 95.22 kB / 0.5825 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.7533, allocations: 0.8674 MB / 0.5834 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.7534, allocations: 28.06 kB / 0.5834 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/0.7572, allocations: 35.05 kB / 0.5834 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.7595, allocations: 0.6711 MB / 0.5841 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.7596, allocations: 3.938 kB / 0.5841 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.804e-05/0.7597, allocations: 17.55 kB / 0.5841 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.7601, allocations: 63.66 kB / 0.5842 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.7624, allocations: 0.6348 MB / 0.5848 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008057/0.7705, allocations: 2.557 MB / 0.5873 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7717, allocations: 331.3 kB / 0.5876 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.7718, allocations: 4.062 kB / 0.5876 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.7718, allocations: 33.75 kB / 0.5876 GB, free: 12.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 4.628e-06/0.7719, allocations: 4 kB / 0.5877 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.004994/0.7769, allocations: 1.658 MB / 0.5893 GB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/0.777, allocations: 85.05 kB / 0.5894 GB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.7776, allocations: 246.3 kB / 0.5896 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.7777, allocations: 28.95 kB / 0.5896 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.7779, allocations: 301.2 kB / 0.5899 GB, free: 10.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.7782, allocations: 154.2 kB / 0.59 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.7783, allocations: 7.25 kB / 0.5901 GB, free: 9.887 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7785, allocations: 337.5 kB / 0.5904 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.7791, allocations: 202.6 kB / 0.5906 GB, free: 9.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.7799, allocations: 329.3 kB / 0.5909 GB, free: 9.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008088/0.7808, allocations: 264.5 kB / 0.5911 GB, free: 8.945 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7808, allocations: 0 / 0.5911 GB, free: 8.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002542/0.7834, allocations: 0.6739 MB / 0.5918 GB, free: 8.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.7834, allocations: 8 kB / 0.5918 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001874/0.7853, allocations: 0.5307 MB / 0.5923 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008435/0.7862, allocations: 114.9 kB / 0.5924 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.787, allocations: 83.31 kB / 0.5925 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/0.7922, allocations: 3.043 MB / 0.5955 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.7929, allocations: 31.36 kB / 0.5955 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/0.793, allocations: 15.62 kB / 0.5955 GB, free: 4.746 MB / 394.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 () * Number of clocked 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.0005682/0.7935, allocations: 208.4 kB / 0.5957 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.7937, allocations: 31.62 kB / 0.5958 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.7954, allocations: 0.5287 MB / 0.5963 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/0.7955, allocations: 12 kB / 0.5963 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7955, allocations: 7.875 kB / 0.5963 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7956, allocations: 3.984 kB / 0.5963 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.7989, allocations: 1.08 MB / 0.5973 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.799, allocations: 0 / 0.5973 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.8, allocations: 75.94 kB / 0.5974 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.8, allocations: 4 kB / 0.5974 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.8001, allocations: 11.67 kB / 0.5974 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.8001, allocations: 3.953 kB / 0.5974 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.8002, allocations: 4 kB / 0.5974 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.8025, allocations: 0.8585 MB / 0.5983 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.8029, allocations: 148.1 kB / 0.5984 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.803, allocations: 8.25 kB / 0.5984 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.8036, allocations: 23.84 kB / 0.5985 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.8037, allocations: 24.14 kB / 0.5985 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.8037, allocations: 11.81 kB / 0.5985 GB, free: 2.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003993/0.8042, allocations: 192.6 kB / 0.5987 GB, free: 2.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.8042, allocations: 0 / 0.5987 GB, free: 2.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001167/0.8054, allocations: 139.4 kB / 0.5988 GB, free: 1.949 MB / 394.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 () * Number of clocked 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.0004464/0.8058, allocations: 161 kB / 0.599 GB, free: 1.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.8081, allocations: 0.7467 MB / 0.5997 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.8082, allocations: 0 / 0.5997 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000699/0.8089, allocations: 240.2 kB / 0.5999 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.8098, allocations: 66.2 kB / 0.6 GB, free: 0.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.8137, allocations: 1.426 MB / 0.6014 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.8146, allocations: 0.8891 MB / 0.6022 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.8149, allocations: 34.31 kB / 0.6023 GB, free: 14.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.815, allocations: 0 / 0.6023 GB, free: 14.67 MB / 410.7 MB Notification: Performance of Templates: time 0.02153/0.8365, allocations: 6.866 MB / 0.609 GB, free: 7.844 MB / 410.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)