Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",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 4.0.0+maint.om/package.mo): time 0.003251/0.003251, allocations: 180.6 kB / 7.456 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.4 MB / 229.3 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.000963, allocations: 101.2 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3984/0.3984, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1423/0.5408, allocations: 75.48 MB / 484.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.8355, allocations: 69.35 MB / 0.5408 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.959, allocations: 98.28 MB / 0.6368 GB, free: 6.543 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.9593, allocations: 75.95 kB / 0.6368 GB, free: 6.469 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.09189/1.051, allocations: 32.43 MB / 0.6685 GB, free: 5.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.051, allocations: 11.94 kB / 0.6685 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/1.055, allocations: 0.5797 MB / 0.6691 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.056, allocations: 0.8078 MB / 0.6699 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/1.057, allocations: 210.4 kB / 0.6701 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.057, allocations: 55.92 kB / 0.6701 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/1.058, allocations: 0.8123 MB / 0.6709 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.06, allocations: 0.8571 MB / 0.6718 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.06, allocations: 4 kB / 0.6718 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.06, allocations: 0 / 0.6718 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/1.06, allocations: 16 kB / 0.6718 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/1.237, allocations: 3.901 MB / 0.6756 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.239, allocations: 0.6197 MB / 0.6762 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/1.239, allocations: 0.5208 MB / 0.6767 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/1.239, allocations: 17.28 kB / 0.6767 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/1.239, allocations: 47 kB / 0.6768 GB, free: 140.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.875e-06/1.239, allocations: 3.625 kB / 0.6768 GB, free: 140.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01203/1.251, allocations: 4.079 MB / 0.6808 GB, free: 140.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/1.252, allocations: 147.1 kB / 0.6809 GB, free: 140 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.253, allocations: 0.8558 MB / 0.6817 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/1.253, allocations: 25.7 kB / 0.6818 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/1.253, allocations: 322.7 kB / 0.6821 GB, free: 139.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/1.254, allocations: 334.6 kB / 0.6824 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/1.254, allocations: 0 / 0.6824 GB, free: 139.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/1.254, allocations: 341 kB / 0.6827 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/1.255, allocations: 447.2 kB / 0.6831 GB, free: 139.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/1.255, allocations: 0.5701 MB / 0.6837 GB, free: 139.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/1.256, allocations: 0.4963 MB / 0.6842 GB, free: 139 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.256, allocations: 0 / 0.6842 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01289/1.269, allocations: 4.273 MB / 0.6884 GB, free: 138.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000297/1.27, allocations: 1.15 MB / 0.6895 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.27, allocations: 2.812 kB / 0.6895 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005931/1.275, allocations: 1.598 MB / 0.691 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.277, allocations: 159.1 kB / 0.6912 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/1.29, allocations: 7.176 MB / 0.6982 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/1.292, allocations: 177.7 kB / 0.6984 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.292, allocations: 36.11 kB / 0.6984 GB, free: 134.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.292, allocations: 6.906 kB / 0.6984 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/1.306, allocations: 4.114 MB / 0.7024 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.306, allocations: 2.656 kB / 0.7024 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006113/1.312, allocations: 1.602 MB / 0.704 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.313, allocations: 155.6 kB / 0.7041 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01504/1.328, allocations: 7.152 MB / 0.7111 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.33, allocations: 171.1 kB / 0.7113 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.331, allocations: 36.78 kB / 0.7113 GB, free: 131.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {19 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005924/1.331, allocations: 160.6 kB / 0.7115 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/1.332, allocations: 123.6 kB / 0.7116 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.344, allocations: 4.182 MB / 0.7157 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.344, allocations: 14.16 kB / 0.7157 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.344, allocations: 10.53 kB / 0.7157 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/1.344, allocations: 7.172 kB / 0.7157 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.358, allocations: 5.701 MB / 0.7213 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.358, allocations: 4.031 kB / 0.7213 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009515/1.359, allocations: 117.7 kB / 0.7214 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004545/1.364, allocations: 1.463 MB / 0.7228 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.364, allocations: 17.17 kB / 0.7228 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/1.375, allocations: 5.185 MB / 0.7279 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.375, allocations: 3 kB / 0.7279 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01604/1.391, allocations: 4.939 MB / 0.7327 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01527/1.407, allocations: 6.072 MB / 0.7387 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/1.407, allocations: 224.7 kB / 0.7389 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/1.408, allocations: 11.91 kB / 0.7389 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.409, allocations: 129.3 kB / 0.739 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.409, allocations: 107.5 kB / 0.7391 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/1.409, allocations: 28 kB / 0.7391 GB, free: 120.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008388/1.41, allocations: 0.6522 MB / 0.7398 GB, free: 119.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003057/1.413, allocations: 0.6381 MB / 0.7404 GB, free: 119.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,21.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000318/1.414, allocations: 146.5 kB / 0.7405 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00934/1.423, allocations: 3.687 MB / 0.7441 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.423, allocations: 0 / 0.7441 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/1.427, allocations: 1.407 MB / 0.7455 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/1.428, allocations: 93.47 kB / 0.7456 GB, free: 114.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/1.433, allocations: 2.01 MB / 0.7476 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/1.434, allocations: 1.237 MB / 0.7488 GB, free: 111.6 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/1.434, allocations: 0 / 0.7488 GB, free: 111.6 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)