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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001093/0.001093, allocations: 181.8 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9745/0.9745, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001674/0.001674, allocations: 126.1 kB / 247.8 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1563/0.1563, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1741/0.3304, allocations: 59.36 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0693/0.3997, allocations: 53.21 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.6331, allocations: 96.57 MB / 0.527 GB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.6334, allocations: 86.38 kB / 0.5271 GB, free: 8.766 MB / 346.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.08681/0.7202, allocations: 33.32 MB / 0.5597 GB, free: 14.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.7203, allocations: 8 kB / 0.5597 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.722, allocations: 282 kB / 0.5599 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.7261, allocations: 1.771 MB / 0.5617 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.7262, allocations: 39.94 kB / 0.5617 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.7264, allocations: 71.91 kB / 0.5618 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/0.7282, allocations: 1.161 MB / 0.5629 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.7303, allocations: 1.643 MB / 0.5645 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.7304, allocations: 11.84 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/0.7305, allocations: 8 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.757e-05/0.7306, allocations: 85.56 kB / 0.5646 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008407/0.739, allocations: 7.775 MB / 0.5722 GB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.7398, allocations: 0.5646 MB / 0.5728 GB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.7405, allocations: 0.5534 MB / 0.5733 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.146e-05/0.7405, allocations: 20.75 kB / 0.5733 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.7406, allocations: 50.22 kB / 0.5734 GB, free: 2.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.196e-06/0.7406, allocations: 0 / 0.5734 GB, free: 2.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=99): time 0.004125/0.7447, allocations: 2.481 MB / 0.5758 GB, free: 88 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.7448, allocations: 85.89 kB / 0.5759 GB, free: 15.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7459, allocations: 0.6027 MB / 0.5765 GB, free: 15.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.746, allocations: 29.73 kB / 0.5765 GB, free: 15.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.7463, allocations: 0.5538 MB / 0.577 GB, free: 14.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.7466, allocations: 339 kB / 0.5773 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.7467, allocations: 0 / 0.5773 GB, free: 14.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.7469, allocations: 414.7 kB / 0.5777 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.7476, allocations: 495.1 kB / 0.5782 GB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/0.7486, allocations: 0.9725 MB / 0.5792 GB, free: 12.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.7497, allocations: 0.7052 MB / 0.5799 GB, free: 11.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.7497, allocations: 4 kB / 0.5799 GB, free: 11.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003067/0.7528, allocations: 1.753 MB / 0.5816 GB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7528, allocations: 4.969 kB / 0.5816 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001997/0.7548, allocations: 1.16 MB / 0.5827 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.7557, allocations: 250.3 kB / 0.5829 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7568, allocations: 291.5 kB / 0.5832 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004206/0.761, allocations: 4.537 MB / 0.5877 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.7619, allocations: 35.91 kB / 0.5877 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.762, allocations: 60 kB / 0.5877 GB, free: 3.371 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.0002265/0.7623, allocations: 156.3 kB / 0.5879 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.7624, allocations: 94.78 kB / 0.588 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.7644, allocations: 1.165 MB / 0.5891 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.7644, allocations: 19.91 kB / 0.5891 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.7644, allocations: 0 / 0.5891 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.7645, allocations: 3.984 kB / 0.5891 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.7685, allocations: 2.334 MB / 0.5914 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.7685, allocations: 4.375 kB / 0.5914 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.7696, allocations: 199.7 kB / 0.5916 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.7696, allocations: 8 kB / 0.5916 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.7697, allocations: 12 kB / 0.5916 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.7697, allocations: 15.98 kB / 0.5917 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7697, allocations: 4 kB / 0.5917 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002384/0.7721, allocations: 1.928 MB / 0.5935 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0032/0.7753, allocations: 2.927 MB / 0.5964 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.7756, allocations: 167.9 kB / 0.5966 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.7757, allocations: 8 kB / 0.5966 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.7763, allocations: 19.97 kB / 0.5966 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7764, allocations: 60.48 kB / 0.5966 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.7764, allocations: 28 kB / 0.5967 GB, free: 9.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005512/0.777, allocations: 451.1 kB / 0.5971 GB, free: 9.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001681/0.7787, allocations: 311.9 kB / 0.5974 GB, free: 9.086 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.000316/0.779, allocations: 196 kB / 0.5976 GB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.7811, allocations: 1.526 MB / 0.5991 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7811, allocations: 384 / 0.5991 GB, free: 7.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.7818, allocations: 0.5032 MB / 0.5996 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.7826, allocations: 150.3 kB / 0.5997 GB, free: 6.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.7866, allocations: 2.445 MB / 0.6021 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.7878, allocations: 1.377 MB / 0.6034 GB, free: 2.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.294e-06/0.7879, allocations: 3.938 kB / 0.6034 GB, free: 2.746 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)