Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 183.9 kB / 15.76 MB, free: 6.344 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.941/1.941, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00112/0.00112, allocations: 102.8 kB / 270.3 MB, free: 13.35 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.2548/0.2548, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004611, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5579/0.6658, allocations: 102.2 MB / 0.5676 GB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.6662, allocations: 97.14 kB / 0.5677 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06359/0.7298, allocations: 13.73 MB / 0.5811 GB, free: 1.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7298, allocations: 0 / 0.5811 GB, free: 1.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.7299, allocations: 11.98 kB / 0.5812 GB, free: 1.758 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00263/0.7325, allocations: 0.8005 MB / 0.5819 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7326, allocations: 8.031 kB / 0.5819 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.7334, allocations: 102.4 kB / 0.582 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.737, allocations: 0.9551 MB / 0.583 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.7371, allocations: 31.31 kB / 0.583 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.7372, allocations: 42.25 kB / 0.583 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.7387, allocations: 0.6747 MB / 0.5837 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.7388, allocations: 0 / 0.5837 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.7388, allocations: 22.25 kB / 0.5837 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.242e-05/0.7389, allocations: 28.98 kB / 0.5837 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.7402, allocations: 0.5083 MB / 0.5842 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/0.7458, allocations: 3.041 MB / 0.5872 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.7468, allocations: 336.8 kB / 0.5875 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.7468, allocations: 4.062 kB / 0.5875 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.7469, allocations: 41.88 kB / 0.5876 GB, free: 11.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 5.46e-06/0.7469, allocations: 0 / 0.5876 GB, free: 11.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.003388/0.7503, allocations: 1.409 MB / 0.589 GB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.7504, allocations: 77.11 kB / 0.589 GB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.7509, allocations: 338.2 kB / 0.5894 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.751, allocations: 43.25 kB / 0.5894 GB, free: 10.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.7513, allocations: 337.4 kB / 0.5897 GB, free: 9.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.7514, allocations: 131.6 kB / 0.5898 GB, free: 9.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.7515, allocations: 10.12 kB / 0.5899 GB, free: 9.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7517, allocations: 335.9 kB / 0.5902 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.7522, allocations: 200.9 kB / 0.5904 GB, free: 9.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.7529, allocations: 383.2 kB / 0.5907 GB, free: 8.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.7536, allocations: 266.4 kB / 0.591 GB, free: 8.781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7536, allocations: 4 kB / 0.591 GB, free: 8.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003643/0.7572, allocations: 0.8426 MB / 0.5918 GB, free: 8.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.7573, allocations: 8 kB / 0.5918 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.7573, allocations: 8 kB / 0.5918 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.7603, allocations: 289.1 kB / 0.5921 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7615, allocations: 147.2 kB / 0.5922 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008453/0.77, allocations: 3.878 MB / 0.596 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.7708, allocations: 31.34 kB / 0.5961 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.7709, allocations: 23.55 kB / 0.5961 GB, free: 3.941 MB / 394.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.0004436/0.7713, allocations: 218.4 kB / 0.5963 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7714, allocations: 39.53 kB / 0.5963 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.7729, allocations: 0.5258 MB / 0.5968 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.773, allocations: 15.58 kB / 0.5969 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.773, allocations: 0 / 0.5969 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.773, allocations: 0 / 0.5969 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.7756, allocations: 1.104 MB / 0.5979 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7757, allocations: 7.953 kB / 0.5979 GB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/0.7766, allocations: 87.88 kB / 0.598 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.7767, allocations: 7.984 kB / 0.598 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.7767, allocations: 11.97 kB / 0.598 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.7768, allocations: 3.938 kB / 0.598 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.7768, allocations: 12 kB / 0.5981 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.7787, allocations: 0.8612 MB / 0.5989 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.779, allocations: 120.6 kB / 0.599 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.7791, allocations: 11.88 kB / 0.599 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.7796, allocations: 19.84 kB / 0.599 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.7797, allocations: 27.8 kB / 0.5991 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.7798, allocations: 8 kB / 0.5991 GB, free: 1.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004495/0.7802, allocations: 265 kB / 0.5993 GB, free: 1.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7802, allocations: 3.938 kB / 0.5993 GB, free: 1.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008375/0.7811, allocations: 139.6 kB / 0.5995 GB, free: 1.07 MB / 394.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 (40): * Single equations (assignments): 38 * 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.000247/0.7813, allocations: 130.5 kB / 0.5996 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.7839, allocations: 0.8388 MB / 0.6004 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.7839, allocations: 0 / 0.6004 GB, free: 232 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.7845, allocations: 237.7 kB / 0.6006 GB, free: 60 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.7852, allocations: 78.64 kB / 0.6007 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.7889, allocations: 1.61 MB / 0.6023 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.7897, allocations: 0.9125 MB / 0.6032 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.7901, allocations: 46.61 kB / 0.6032 GB, free: 13.49 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7901, allocations: 0 / 0.6032 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Templates: time 0.01787/0.808, allocations: 7.86 MB / 0.6109 GB, free: 5.676 MB / 410.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)