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.0009592/0.0009593, allocations: 178.6 kB / 16.38 MB, free: 5.762 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.286/1.286, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.002065/0.002065, allocations: 114.7 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1583/0.1583, allocations: 37.99 MB / 340.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 16 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.0866, allocations: 53.23 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4165, allocations: 97.34 MB / 0.5414 GB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4168, allocations: 95.52 kB / 0.5415 GB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08575/0.5025, allocations: 32.56 MB / 0.5732 GB, free: 1.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5026, allocations: 0 / 0.5732 GB, free: 1.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.314e-05/0.5026, allocations: 32 kB / 0.5733 GB, free: 1.926 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.002548/0.5052, allocations: 1.437 MB / 0.5747 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.5052, allocations: 16.02 kB / 0.5747 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.5067, allocations: 282.2 kB / 0.575 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/0.5105, allocations: 1.788 MB / 0.5767 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.5106, allocations: 91.59 kB / 0.5768 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.5108, allocations: 114.7 kB / 0.5769 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.513, allocations: 1.788 MB / 0.5787 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/0.5131, allocations: 19.16 kB / 0.5787 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5132, allocations: 49.12 kB / 0.5787 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.5133, allocations: 80.14 kB / 0.5788 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.5152, allocations: 1.39 MB / 0.5802 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007279/0.5224, allocations: 7.96 MB / 0.5879 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009856/0.5235, allocations: 0.9498 MB / 0.5889 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.5235, allocations: 17.05 kB / 0.5889 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.5236, allocations: 41.75 kB / 0.5889 GB, free: 3.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.5236, allocations: 3.938 kB / 0.5889 GB, free: 3.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.00419/0.5278, allocations: 3.229 MB / 0.5921 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.5278, allocations: 90.19 kB / 0.5921 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.5286, allocations: 0.6797 MB / 0.5928 GB, free: 164 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.5286, allocations: 45.69 kB / 0.5929 GB, free: 112 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.529, allocations: 0.6302 MB / 0.5935 GB, free: 15.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.5292, allocations: 355 kB / 0.5938 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.5293, allocations: 31.98 kB / 0.5938 GB, free: 15.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5295, allocations: 418.7 kB / 0.5942 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.5301, allocations: 0.5029 MB / 0.5947 GB, free: 14.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/0.5311, allocations: 0.9827 MB / 0.5957 GB, free: 12.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008695/0.532, allocations: 0.6977 MB / 0.5964 GB, free: 12.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.532, allocations: 4 kB / 0.5964 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002842/0.5348, allocations: 1.842 MB / 0.5982 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5349, allocations: 12 kB / 0.5982 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001887/0.5368, allocations: 1.168 MB / 0.5993 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.5376, allocations: 250.3 kB / 0.5996 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5386, allocations: 303.4 kB / 0.5999 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.543, allocations: 4.853 MB / 0.6046 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009275/0.5439, allocations: 63.95 kB / 0.6047 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.544, allocations: 63.98 kB / 0.6047 GB, free: 3.285 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.0007384/0.5448, allocations: 417.2 kB / 0.6051 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.5449, allocations: 102.7 kB / 0.6052 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.5467, allocations: 1.164 MB / 0.6064 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.5468, allocations: 23.95 kB / 0.6064 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5468, allocations: 7.922 kB / 0.6064 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5468, allocations: 7.984 kB / 0.6064 GB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.5507, allocations: 2.423 MB / 0.6088 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5507, allocations: 4 kB / 0.6088 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/0.5517, allocations: 203.7 kB / 0.609 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5517, allocations: 4 kB / 0.609 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.5518, allocations: 27.92 kB / 0.609 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.5518, allocations: 11.94 kB / 0.609 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5518, allocations: 0 / 0.609 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.5539, allocations: 1.813 MB / 0.6108 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.5541, allocations: 163.9 kB / 0.6109 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.5543, allocations: 23.98 kB / 0.6109 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.5547, allocations: 47.94 kB / 0.611 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.5548, allocations: 56.89 kB / 0.611 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.5549, allocations: 27.98 kB / 0.6111 GB, free: 12.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005634/0.5555, allocations: 0.5107 MB / 0.6116 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5555, allocations: 0 / 0.6116 GB, free: 12.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00105/0.5565, allocations: 339.9 kB / 0.6119 GB, free: 11.74 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.0003247/0.5569, allocations: 207.3 kB / 0.6121 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.559, allocations: 1.612 MB / 0.6137 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.559, allocations: 0 / 0.6137 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.5596, allocations: 0.5014 MB / 0.6142 GB, free: 9.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.5603, allocations: 164.6 kB / 0.6143 GB, free: 9.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.5643, allocations: 3.424 MB / 0.6177 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/0.5651, allocations: 1.284 MB / 0.6189 GB, free: 4.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009597/0.5661, allocations: 412.5 kB / 0.6193 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.5664, allocations: 83.36 kB / 0.6194 GB, free: 3.941 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5664, allocations: 3.938 kB / 0.6194 GB, free: 3.938 MB / 426.7 MB Notification: Performance of Templates: time 0.01814/0.5845, allocations: 11.26 MB / 0.6304 GB, free: 8.668 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)