Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001317/0.001317, allocations: 183.5 kB / 17.4 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.601/1.601, allocations: 194.5 MB / 212.6 MB, free: 2.852 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001635/0.001635, allocations: 123.2 kB / 257.9 MB, free: 4.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1894/0.1894, allocations: 38.01 MB / 341.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005727/0.0005728, allocations: 12 kB / 405 MB, free: 68.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 53.23 MB / 458.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.6373, allocations: 97.38 MB / 0.5426 GB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.6377, allocations: 104.9 kB / 0.5427 GB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08924/0.7269, allocations: 32.48 MB / 0.5744 GB, free: 1.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.727, allocations: 0 / 0.5744 GB, free: 1.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.327e-05/0.727, allocations: 35.98 kB / 0.5745 GB, free: 1.555 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003038/0.7301, allocations: 1.436 MB / 0.5759 GB, free: 164 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7301, allocations: 8.031 kB / 0.5759 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.7318, allocations: 271 kB / 0.5761 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.7346, allocations: 1.322 MB / 0.5774 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.7347, allocations: 96.03 kB / 0.5775 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.7349, allocations: 117.4 kB / 0.5776 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.7377, allocations: 1.799 MB / 0.5794 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.7377, allocations: 11.94 kB / 0.5794 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7378, allocations: 50.69 kB / 0.5794 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.738, allocations: 89.88 kB / 0.5795 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.7401, allocations: 1.38 MB / 0.5809 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009947/0.75, allocations: 7.968 MB / 0.5887 GB, free: 4.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.7515, allocations: 0.9531 MB / 0.5896 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.7524, allocations: 0.5712 MB / 0.5901 GB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.7525, allocations: 16.92 kB / 0.5902 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.7525, allocations: 42.38 kB / 0.5902 GB, free: 3.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 5.51e-06/0.7526, allocations: 4 kB / 0.5902 GB, free: 3.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.005056/0.7576, allocations: 2.901 MB / 0.593 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.7577, allocations: 98.05 kB / 0.5931 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.7587, allocations: 0.7664 MB / 0.5939 GB, free: 4 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.7588, allocations: 41.69 kB / 0.5939 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.7592, allocations: 0.6381 MB / 0.5945 GB, free: 15.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.7596, allocations: 354.9 kB / 0.5949 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.7596, allocations: 27.98 kB / 0.5949 GB, free: 14.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.7598, allocations: 422.7 kB / 0.5953 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.7606, allocations: 0.499 MB / 0.5958 GB, free: 14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.7617, allocations: 0.9944 MB / 0.5968 GB, free: 12.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.7638, allocations: 1.637 MB / 0.5984 GB, free: 10.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.7638, allocations: 11.98 kB / 0.5984 GB, free: 10.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003422/0.7672, allocations: 1.842 MB / 0.6002 GB, free: 9.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.7673, allocations: 12 kB / 0.6002 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00196/0.7693, allocations: 1.164 MB / 0.6013 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008639/0.7701, allocations: 250.4 kB / 0.6016 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7712, allocations: 303.5 kB / 0.6019 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.7757, allocations: 4.783 MB / 0.6065 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.7767, allocations: 71.94 kB / 0.6066 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.7769, allocations: 60 kB / 0.6066 GB, free: 2.023 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 () * Number of clocked 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.0007521/0.7776, allocations: 425.2 kB / 0.6071 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.7778, allocations: 94.78 kB / 0.6071 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.7797, allocations: 1.164 MB / 0.6083 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/0.7798, allocations: 20 kB / 0.6083 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7798, allocations: 7.938 kB / 0.6083 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7798, allocations: 3.984 kB / 0.6083 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.784, allocations: 2.419 MB / 0.6107 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7841, allocations: 4 kB / 0.6107 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.785, allocations: 203.7 kB / 0.6109 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.785, allocations: 4 kB / 0.6109 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.7851, allocations: 20 kB / 0.6109 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.7851, allocations: 16.06 kB / 0.6109 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7851, allocations: 7.984 kB / 0.6109 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.7874, allocations: 1.735 MB / 0.6126 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.7877, allocations: 163.9 kB / 0.6128 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7878, allocations: 31.92 kB / 0.6128 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.7883, allocations: 39.95 kB / 0.6128 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7884, allocations: 56.86 kB / 0.6129 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.7884, allocations: 24 kB / 0.6129 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006445/0.7891, allocations: 0.5068 MB / 0.6134 GB, free: 10.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7891, allocations: 4 kB / 0.6134 GB, free: 10.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001264/0.7904, allocations: 347.9 kB / 0.6137 GB, free: 10.59 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 () * Number of clocked 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.0003543/0.7907, allocations: 207 kB / 0.6139 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.7932, allocations: 1.613 MB / 0.6155 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7932, allocations: 0.625 kB / 0.6155 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.7939, allocations: 0.5092 MB / 0.616 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.795, allocations: 168.7 kB / 0.6162 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004735/0.7998, allocations: 3.44 MB / 0.6195 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/0.8007, allocations: 1.248 MB / 0.6208 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001235/0.802, allocations: 416.5 kB / 0.6211 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.8022, allocations: 83.42 kB / 0.6212 GB, free: 2.805 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.8022, allocations: 3.938 kB / 0.6212 GB, free: 2.801 MB / 426.7 MB Notification: Performance of Templates: time 0.02127/0.8235, allocations: 11.35 MB / 0.6323 GB, free: 7.445 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)