Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002187/0.002192, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00148/0.001479, allocations: 90.44 kB / 261.8 MB, free: 1.668 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.2611/0.2611, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.021e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5667/0.6742, allocations: 101.7 MB / 0.5546 GB, free: 9.047 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.6745, allocations: 88.28 kB / 0.5547 GB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1414/0.816, allocations: 32.29 MB / 0.5862 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.816, allocations: 0 / 0.5862 GB, free: 14.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.8162, allocations: 35.94 kB / 0.5862 GB, free: 14.39 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004894/0.8211, allocations: 1.305 MB / 0.5875 GB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.8212, allocations: 8.031 kB / 0.5875 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.8242, allocations: 281.8 kB / 0.5878 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007202/0.8315, allocations: 1.76 MB / 0.5895 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.8316, allocations: 40 kB / 0.5895 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/0.8321, allocations: 71.91 kB / 0.5896 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003698/0.8358, allocations: 1.118 MB / 0.5907 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.8402, allocations: 1.61 MB / 0.5923 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.206e-05/0.8403, allocations: 8.688 kB / 0.5923 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.8405, allocations: 4 kB / 0.5923 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.8407, allocations: 87.83 kB / 0.5924 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.8558, allocations: 7.744 MB / 0.5999 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.8577, allocations: 0.9043 MB / 0.6008 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.859, allocations: 0.5309 MB / 0.6013 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.8591, allocations: 20.27 kB / 0.6013 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.8592, allocations: 42.95 kB / 0.6014 GB, free: 0.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 4.719e-06/0.8592, allocations: 3.938 kB / 0.6014 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.006846/0.866, allocations: 2.401 MB / 0.6037 GB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.8662, allocations: 89.83 kB / 0.6038 GB, free: 14.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.8673, allocations: 0.6002 MB / 0.6044 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.8675, allocations: 25.7 kB / 0.6044 GB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/0.8681, allocations: 0.6648 MB / 0.6051 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000501/0.8686, allocations: 339 kB / 0.6054 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.8687, allocations: 0 / 0.6054 GB, free: 13.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.8689, allocations: 378.8 kB / 0.6058 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.8702, allocations: 475.1 kB / 0.6062 GB, free: 12.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.8718, allocations: 0.9495 MB / 0.6071 GB, free: 11.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.8737, allocations: 0.6809 MB / 0.6078 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.8738, allocations: 4 kB / 0.6078 GB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005224/0.879, allocations: 1.656 MB / 0.6094 GB, free: 8.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.8791, allocations: 15.95 kB / 0.6094 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003438/0.8826, allocations: 1.105 MB / 0.6105 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.884, allocations: 242.6 kB / 0.6108 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.8863, allocations: 303.5 kB / 0.611 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00619/0.8925, allocations: 4.584 MB / 0.6155 GB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.8941, allocations: 43.94 kB / 0.6156 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.8943, allocations: 64 kB / 0.6156 GB, free: 2.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003275/0.8947, allocations: 152.5 kB / 0.6158 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.8949, allocations: 94.78 kB / 0.6159 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.8982, allocations: 1.098 MB / 0.6169 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.749e-05/0.8983, allocations: 31.98 kB / 0.617 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8983, allocations: 0 / 0.617 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.8983, allocations: 3.984 kB / 0.617 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.9055, allocations: 2.204 MB / 0.6191 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.9056, allocations: 4 kB / 0.6191 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.9076, allocations: 203.7 kB / 0.6193 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/0.9077, allocations: 4 kB / 0.6193 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.9078, allocations: 20.12 kB / 0.6193 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.9078, allocations: 8 kB / 0.6193 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.9079, allocations: 4 kB / 0.6194 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.9118, allocations: 1.734 MB / 0.621 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.9122, allocations: 167.8 kB / 0.6212 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.9125, allocations: 11.98 kB / 0.6212 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.9134, allocations: 31.95 kB / 0.6212 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.9136, allocations: 56.7 kB / 0.6213 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.864e-05/0.9137, allocations: 24 kB / 0.6213 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008537/0.9146, allocations: 451.1 kB / 0.6218 GB, free: 11.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9146, allocations: 0 / 0.6218 GB, free: 11.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001774/0.9164, allocations: 299.9 kB / 0.622 GB, free: 11.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * 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.0004822/0.9169, allocations: 191 kB / 0.6222 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.9207, allocations: 1.492 MB / 0.6237 GB, free: 9.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9207, allocations: 8.188 kB / 0.6237 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.9219, allocations: 486.7 kB / 0.6242 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.9232, allocations: 147.7 kB / 0.6243 GB, free: 8.996 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/0.9294, allocations: 2.46 MB / 0.6267 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.9308, allocations: 1.283 MB / 0.6279 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/0.9314, allocations: 91.42 kB / 0.628 GB, free: 5.074 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9315, allocations: 0 / 0.628 GB, free: 5.074 MB / 426.7 MB Notification: Performance of Templates: time 0.04662/0.9781, allocations: 20.29 MB / 0.6479 GB, free: 0.7383 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)