Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 173.3 kB / 16.76 MB, free: 5.047 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.812/2.812, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.001853/0.001853, allocations: 92.09 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4456/0.4456, allocations: 38.07 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000667/0.0006672, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.5492, allocations: 56.33 MB / 480.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.7741, allocations: 102.2 MB / 0.5689 GB, free: 80 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005088/0.7747, allocations: 88.02 kB / 0.5689 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07207/0.8468, allocations: 13.71 MB / 0.5823 GB, free: 2.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.568e-06/0.8469, allocations: 0 / 0.5823 GB, free: 2.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.162e-05/0.8469, allocations: 12 kB / 0.5823 GB, free: 2.121 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003651/0.8506, allocations: 0.7934 MB / 0.5831 GB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.8507, allocations: 8.031 kB / 0.5831 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.8519, allocations: 100.1 kB / 0.5832 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.8547, allocations: 0.6128 MB / 0.5838 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.8548, allocations: 33.38 kB / 0.5839 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.8551, allocations: 48.36 kB / 0.5839 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.8571, allocations: 0.6729 MB / 0.5846 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.8572, allocations: 15.88 kB / 0.5846 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.8573, allocations: 16 kB / 0.5846 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.8574, allocations: 28.98 kB / 0.5846 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.8589, allocations: 0.4994 MB / 0.5851 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/0.8659, allocations: 3.018 MB / 0.5881 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.867, allocations: 341.6 kB / 0.5884 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.8675, allocations: 200.7 kB / 0.5886 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.8676, allocations: 7.984 kB / 0.5886 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/0.8677, allocations: 38.55 kB / 0.5886 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 5.941e-06/0.8677, allocations: 0 / 0.5886 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.004227/0.872, allocations: 1.326 MB / 0.5899 GB, free: 9.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.8721, allocations: 85.31 kB / 0.59 GB, free: 9.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.873, allocations: 369.6 kB / 0.5903 GB, free: 9.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.8731, allocations: 37.7 kB / 0.5904 GB, free: 9.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.8734, allocations: 283.3 kB / 0.5906 GB, free: 9.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.8736, allocations: 134.1 kB / 0.5908 GB, free: 9.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.8737, allocations: 12 kB / 0.5908 GB, free: 9.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.8739, allocations: 358.7 kB / 0.5911 GB, free: 8.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.8745, allocations: 201 kB / 0.5913 GB, free: 8.504 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009206/0.8755, allocations: 382.8 kB / 0.5917 GB, free: 8.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8771, allocations: 0.6195 MB / 0.5923 GB, free: 7.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.8771, allocations: 0 / 0.5923 GB, free: 7.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003313/0.8805, allocations: 0.8323 MB / 0.5931 GB, free: 6.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.8805, allocations: 8 kB / 0.5931 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.8806, allocations: 8 kB / 0.5931 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.8826, allocations: 257.4 kB / 0.5934 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.8837, allocations: 143.8 kB / 0.5935 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.8916, allocations: 3.71 MB / 0.5971 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.8926, allocations: 35.97 kB / 0.5972 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.8929, allocations: 20 kB / 0.5972 GB, free: 2.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000842/0.8938, allocations: 225.1 kB / 0.5974 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.894, allocations: 39.53 kB / 0.5974 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.8957, allocations: 0.5242 MB / 0.5979 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.622e-05/0.8957, allocations: 19.92 kB / 0.598 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8957, allocations: 0 / 0.598 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8958, allocations: 0 / 0.598 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.8991, allocations: 1.081 MB / 0.599 GB, free: 104 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.8991, allocations: 8.047 kB / 0.599 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/0.9, allocations: 91.88 kB / 0.5991 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/0.9001, allocations: 4 kB / 0.5991 GB, free: 0 / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.9002, allocations: 8.078 kB / 0.5991 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.591e-05/0.9002, allocations: 4 kB / 0.5991 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9002, allocations: 0 / 0.5991 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.9023, allocations: 0.8267 MB / 0.5999 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.9026, allocations: 112.7 kB / 0.6 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9027, allocations: 11.98 kB / 0.6001 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.9033, allocations: 24.06 kB / 0.6001 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9034, allocations: 31.84 kB / 0.6001 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.9035, allocations: 12 kB / 0.6001 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006086/0.9041, allocations: 255.1 kB / 0.6004 GB, free: 14.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9041, allocations: 8 kB / 0.6004 GB, free: 14.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001211/0.9054, allocations: 135.9 kB / 0.6005 GB, free: 14.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (39): * Single equations (assignments): 37 * Array equations: 1 * 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.0004057/0.9058, allocations: 131.1 kB / 0.6006 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.9085, allocations: 0.8181 MB / 0.6014 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9086, allocations: 4 kB / 0.6014 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.9092, allocations: 231.7 kB / 0.6016 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.9104, allocations: 78.02 kB / 0.6017 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.9168, allocations: 1.818 MB / 0.6035 GB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.918, allocations: 0.8977 MB / 0.6044 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.9184, allocations: 39.42 kB / 0.6044 GB, free: 10.43 MB / 442.7 MB Notification: Performance of SimCode: time 2.254e-06/0.9184, allocations: 0 / 0.6044 GB, free: 10.43 MB / 442.7 MB Notification: Performance of Templates: time 0.02431/0.9427, allocations: 8.008 MB / 0.6122 GB, free: 2.418 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)