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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001522/0.001522, allocations: 188.4 kB / 8.138 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.273/1.273, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001689/0.00169, allocations: 118.1 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2818/0.2818, allocations: 37.91 MB / 330.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.252e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.08942, allocations: 53.24 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3794, allocations: 96.56 MB / 0.5269 GB, free: 8.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3797, allocations: 85.98 kB / 0.527 GB, free: 8.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08815/0.4679, allocations: 31.98 MB / 0.5583 GB, free: 15.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.946e-05/0.468, allocations: 28 kB / 0.5583 GB, free: 15.79 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.004142/0.4722, allocations: 1.313 MB / 0.5596 GB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4723, allocations: 12.03 kB / 0.5596 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.4745, allocations: 285.8 kB / 0.5598 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005346/0.4799, allocations: 1.757 MB / 0.5616 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.48, allocations: 36 kB / 0.5616 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004686/0.4805, allocations: 79.08 kB / 0.5617 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002656/0.4831, allocations: 1.16 MB / 0.5628 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.4862, allocations: 1.637 MB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/0.4863, allocations: 7.938 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.4864, allocations: 11.91 kB / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.4866, allocations: 85.06 kB / 0.5645 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.4972, allocations: 7.785 MB / 0.5721 GB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.4983, allocations: 0.5686 MB / 0.5727 GB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.4992, allocations: 0.5556 MB / 0.5732 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-05/0.4993, allocations: 20.75 kB / 0.5732 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.4994, allocations: 41.03 kB / 0.5733 GB, free: 2.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 5.149e-06/0.4994, allocations: 0 / 0.5733 GB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=99): time 0.005469/0.5049, allocations: 2.486 MB / 0.5757 GB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.505, allocations: 85.89 kB / 0.5758 GB, free: 72 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.506, allocations: 0.6008 MB / 0.5764 GB, free: 15.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.5061, allocations: 26.45 kB / 0.5764 GB, free: 15.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.5065, allocations: 0.5541 MB / 0.5769 GB, free: 15.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.5068, allocations: 340.5 kB / 0.5773 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.5069, allocations: 0 / 0.5773 GB, free: 14.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.5072, allocations: 410.7 kB / 0.5776 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000774/0.5079, allocations: 0.4914 MB / 0.5781 GB, free: 13.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.509, allocations: 0.9686 MB / 0.5791 GB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.5102, allocations: 0.7091 MB / 0.5798 GB, free: 11.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.5102, allocations: 7.938 kB / 0.5798 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003298/0.5136, allocations: 1.746 MB / 0.5815 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5136, allocations: 4 kB / 0.5815 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002122/0.5157, allocations: 1.16 MB / 0.5826 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009582/0.5167, allocations: 250.5 kB / 0.5829 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5179, allocations: 291.5 kB / 0.5831 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/0.5224, allocations: 4.542 MB / 0.5876 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.5235, allocations: 31.97 kB / 0.5876 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.5237, allocations: 63.98 kB / 0.5877 GB, free: 3.465 MB / 394.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.00032/0.524, allocations: 152.3 kB / 0.5878 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.5243, allocations: 94.78 kB / 0.5879 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.5265, allocations: 1.161 MB / 0.589 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.5266, allocations: 19.98 kB / 0.589 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5266, allocations: 7.906 kB / 0.5891 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5266, allocations: 3.984 kB / 0.5891 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.5312, allocations: 2.334 MB / 0.5913 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.5313, allocations: 4 kB / 0.5913 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5323, allocations: 187.8 kB / 0.5915 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.5324, allocations: 8 kB / 0.5915 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.5324, allocations: 15.98 kB / 0.5915 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.5325, allocations: 12 kB / 0.5916 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.5325, allocations: 11.92 kB / 0.5916 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002805/0.5353, allocations: 1.933 MB / 0.5935 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.5357, allocations: 167.9 kB / 0.5936 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.536, allocations: 11.98 kB / 0.5936 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.5366, allocations: 27.97 kB / 0.5936 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5368, allocations: 44.5 kB / 0.5937 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.5369, allocations: 31.98 kB / 0.5937 GB, free: 13 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007804/0.5376, allocations: 451.1 kB / 0.5942 GB, free: 12.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001518/0.5392, allocations: 295.9 kB / 0.5944 GB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.0004346/0.5396, allocations: 196 kB / 0.5946 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.5425, allocations: 1.53 MB / 0.5961 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5426, allocations: 0 / 0.5961 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.5433, allocations: 0.5022 MB / 0.5966 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.5442, allocations: 147.4 kB / 0.5967 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.549, allocations: 2.43 MB / 0.5991 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.5506, allocations: 1.354 MB / 0.6004 GB, free: 5.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.636e-06/0.5506, allocations: 11.94 kB / 0.6005 GB, free: 5.969 MB / 410.7 MB Notification: Performance of Templates: time 0.02508/0.5757, allocations: 12.41 MB / 0.6126 GB, free: 9.586 MB / 426.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)