Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.4 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.0009211, allocations: 93.33 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1905/0.1905, allocations: 37.98 MB / 347.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2591/0.4496, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.585, allocations: 56.32 MB / 466.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.9884, allocations: 101.7 MB / 0.5548 GB, free: 8.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.9888, allocations: 87.95 kB / 0.5549 GB, free: 8.727 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.1082/1.097, allocations: 33.33 MB / 0.5874 GB, free: 6.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.097, allocations: 16 kB / 0.5874 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/1.1, allocations: 282 kB / 0.5877 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005697/1.106, allocations: 1.764 MB / 0.5894 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/1.106, allocations: 36 kB / 0.5895 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005792/1.106, allocations: 83.84 kB / 0.5895 GB, free: 4.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003278/1.11, allocations: 1.164 MB / 0.5907 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/1.113, allocations: 1.631 MB / 0.5923 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/1.113, allocations: 15.84 kB / 0.5923 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.113, allocations: 8 kB / 0.5923 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/1.113, allocations: 82.02 kB / 0.5924 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/1.124, allocations: 7.776 MB / 0.6 GB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009461/1.125, allocations: 0.5609 MB / 0.6005 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/1.126, allocations: 0.5513 MB / 0.6011 GB, free: 8.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/1.126, allocations: 24.7 kB / 0.6011 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.126, allocations: 39.34 kB / 0.6011 GB, free: 8.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 5.33e-06/1.126, allocations: 4 kB / 0.6011 GB, free: 8.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=99): time 0.004769/1.131, allocations: 2.49 MB / 0.6035 GB, free: 5.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.131, allocations: 89.89 kB / 0.6036 GB, free: 5.734 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.132, allocations: 0.6014 MB / 0.6042 GB, free: 5.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/1.132, allocations: 25.7 kB / 0.6042 GB, free: 5.094 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/1.132, allocations: 0.5482 MB / 0.6048 GB, free: 4.535 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/1.133, allocations: 347 kB / 0.6051 GB, free: 4.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/1.133, allocations: 4.031 kB / 0.6051 GB, free: 4.188 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/1.133, allocations: 410.7 kB / 0.6055 GB, free: 3.777 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/1.134, allocations: 495.1 kB / 0.606 GB, free: 3.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/1.135, allocations: 0.9647 MB / 0.6069 GB, free: 2.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.136, allocations: 0.7129 MB / 0.6076 GB, free: 1.398 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.136, allocations: 8 kB / 0.6076 GB, free: 1.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003312/1.14, allocations: 1.742 MB / 0.6093 GB, free: 15.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.14, allocations: 4 kB / 0.6093 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002142/1.142, allocations: 1.164 MB / 0.6105 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/1.143, allocations: 254.3 kB / 0.6107 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.144, allocations: 295.5 kB / 0.611 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/1.149, allocations: 4.526 MB / 0.6154 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.15, allocations: 32.02 kB / 0.6154 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/1.151, allocations: 63.98 kB / 0.6155 GB, free: 8.941 MB / 458.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.0003267/1.151, allocations: 157.8 kB / 0.6157 GB, free: 8.781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.151, allocations: 94.78 kB / 0.6157 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.153, allocations: 1.165 MB / 0.6169 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/1.153, allocations: 19.98 kB / 0.6169 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.153, allocations: 3.938 kB / 0.6169 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.153, allocations: 7.984 kB / 0.6169 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004625/1.158, allocations: 2.326 MB / 0.6192 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.158, allocations: 8 kB / 0.6192 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.159, allocations: 195.7 kB / 0.6194 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.159, allocations: 8.375 kB / 0.6194 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/1.159, allocations: 23.98 kB / 0.6194 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-06/1.159, allocations: 4 kB / 0.6194 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.159, allocations: 7.938 kB / 0.6194 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002637/1.162, allocations: 1.936 MB / 0.6213 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003701/1.166, allocations: 2.927 MB / 0.6242 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/1.166, allocations: 159.9 kB / 0.6243 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.166, allocations: 15.98 kB / 0.6243 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/1.167, allocations: 19.97 kB / 0.6244 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.167, allocations: 52.64 kB / 0.6244 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/1.167, allocations: 31.98 kB / 0.6244 GB, free: 15.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006716/1.168, allocations: 451.1 kB / 0.6249 GB, free: 14.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001821/1.17, allocations: 303.9 kB / 0.6252 GB, free: 14.66 MB / 474.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.0003469/1.17, allocations: 201.7 kB / 0.6253 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/1.172, allocations: 1.529 MB / 0.6268 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.172, allocations: 0 / 0.6268 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007/1.173, allocations: 0.5075 MB / 0.6273 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/1.174, allocations: 144 kB / 0.6275 GB, free: 12.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/1.178, allocations: 2.445 MB / 0.6299 GB, free: 9.727 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.18, allocations: 1.377 MB / 0.6312 GB, free: 8.32 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/1.18, allocations: 0 / 0.6312 GB, free: 8.32 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)