Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.002354/0.002354, allocations: 176.4 kB / 7.453 MB, free: 2.508 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.17/1.17, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0009616/0.0009617, allocations: 98.78 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4474/0.4474, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1513/0.5987, allocations: 75.65 MB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.9034, allocations: 69.5 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/1.028, allocations: 97.95 MB / 0.6376 GB, free: 5.969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.028, allocations: 83.89 kB / 0.6377 GB, free: 5.887 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.09006/1.118, allocations: 31.25 MB / 0.6682 GB, free: 6.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/1.118, allocations: 11.98 kB / 0.6682 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/1.122, allocations: 0.5758 MB / 0.6688 GB, free: 5.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/1.124, allocations: 0.7723 MB / 0.6695 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/1.125, allocations: 218.4 kB / 0.6697 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/1.125, allocations: 44 kB / 0.6698 GB, free: 4.672 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001753/1.127, allocations: 0.8006 MB / 0.6706 GB, free: 3.871 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/1.128, allocations: 0.8259 MB / 0.6714 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.128, allocations: 8 kB / 0.6714 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/1.128, allocations: 0 / 0.6714 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/1.129, allocations: 16 kB / 0.6714 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2074/1.336, allocations: 3.787 MB / 0.6751 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/1.337, allocations: 0.5849 MB / 0.6757 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/1.338, allocations: 0.5128 MB / 0.6762 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.338, allocations: 22.12 kB / 0.6762 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.338, allocations: 46.73 kB / 0.6762 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.297e-06/1.338, allocations: 0 / 0.6762 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01159/1.349, allocations: 4.045 MB / 0.6802 GB, free: 140.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/1.349, allocations: 144.3 kB / 0.6803 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.351, allocations: 0.8065 MB / 0.6811 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/1.351, allocations: 25.7 kB / 0.6811 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/1.351, allocations: 322.4 kB / 0.6814 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/1.352, allocations: 321.4 kB / 0.6817 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/1.352, allocations: 0 / 0.6817 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/1.352, allocations: 342.5 kB / 0.6821 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/1.353, allocations: 426.3 kB / 0.6825 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/1.354, allocations: 0.5442 MB / 0.683 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/1.355, allocations: 482.8 kB / 0.6835 GB, free: 139.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.355, allocations: 0 / 0.6835 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0125/1.367, allocations: 4.179 MB / 0.6875 GB, free: 139 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002916/1.368, allocations: 1.142 MB / 0.6887 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.368, allocations: 3.375 kB / 0.6887 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/1.373, allocations: 1.522 MB / 0.6902 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.374, allocations: 166.7 kB / 0.6903 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.387, allocations: 5.814 MB / 0.696 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.389, allocations: 178.5 kB / 0.6962 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.389, allocations: 39.38 kB / 0.6962 GB, free: 136.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.389, allocations: 3.688 kB / 0.6962 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01223/1.401, allocations: 4.022 MB / 0.7001 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.401, allocations: 2.969 kB / 0.7001 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00531/1.407, allocations: 1.516 MB / 0.7016 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/1.408, allocations: 157.8 kB / 0.7018 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.42, allocations: 5.817 MB / 0.7074 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.422, allocations: 171.4 kB / 0.7076 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.422, allocations: 31.75 kB / 0.7076 GB, free: 134.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (86): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003579/1.422, allocations: 158.8 kB / 0.7078 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/1.423, allocations: 125.5 kB / 0.7079 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.434, allocations: 4.124 MB / 0.7119 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.434, allocations: 9.938 kB / 0.7119 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/1.434, allocations: 8.25 kB / 0.712 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/1.434, allocations: 6.984 kB / 0.712 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.449, allocations: 5.603 MB / 0.7174 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.449, allocations: 3.516 kB / 0.7174 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/1.449, allocations: 112 kB / 0.7175 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/1.454, allocations: 1.464 MB / 0.719 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/1.455, allocations: 10.59 kB / 0.719 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.465, allocations: 5.208 MB / 0.7241 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.465, allocations: 0 / 0.7241 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01345/1.479, allocations: 4.857 MB / 0.7288 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0149/1.494, allocations: 5.965 MB / 0.7346 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/1.494, allocations: 218 kB / 0.7348 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/1.495, allocations: 4 kB / 0.7348 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.496, allocations: 129.4 kB / 0.735 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.496, allocations: 107.7 kB / 0.7351 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/1.496, allocations: 24.92 kB / 0.7351 GB, free: 124.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009194/1.497, allocations: 0.6265 MB / 0.7357 GB, free: 123.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003299/1.501, allocations: 0.6134 MB / 0.7363 GB, free: 123.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/1.501, allocations: 134.4 kB / 0.7364 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008443/1.509, allocations: 3.393 MB / 0.7398 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.509, allocations: 0.75 kB / 0.7398 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003572/1.513, allocations: 1.37 MB / 0.7411 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/1.514, allocations: 94.75 kB / 0.7412 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/1.518, allocations: 1.742 MB / 0.7429 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/1.519, allocations: 1.214 MB / 0.7441 GB, free: 116.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/1.519, allocations: 3.844 kB / 0.7441 GB, free: 116.2 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)