Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",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.001748/0.001748, allocations: 175 kB / 7.452 MB, free: 2.32 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.056/1.056, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.00084/0.00084, allocations: 93.83 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3571/0.3571, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1148/0.4719, allocations: 75.5 MB / 484.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.7042, allocations: 69.34 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09993/0.8042, allocations: 98.44 MB / 0.637 GB, free: 6.484 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.8044, allocations: 79.95 kB / 0.637 GB, free: 6.406 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.0855/0.8899, allocations: 33.26 MB / 0.6695 GB, free: 4.863 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.89, allocations: 12 kB / 0.6695 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.8934, allocations: 0.5836 MB / 0.6701 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.8949, allocations: 0.7901 MB / 0.6709 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.8952, allocations: 240.2 kB / 0.6711 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.8953, allocations: 51.89 kB / 0.6712 GB, free: 3.102 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/0.8968, allocations: 0.8084 MB / 0.672 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.8983, allocations: 0.8446 MB / 0.6728 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.8983, allocations: 0 / 0.6728 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/0.8984, allocations: 0 / 0.6728 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.8984, allocations: 24 kB / 0.6728 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1349/1.033, allocations: 3.786 MB / 0.6765 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.034, allocations: 0.622 MB / 0.6771 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/1.035, allocations: 0.5215 MB / 0.6776 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.035, allocations: 27.83 kB / 0.6776 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/1.036, allocations: 0.6425 MB / 0.6783 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.875e-06/1.036, allocations: 0 / 0.6783 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01157/1.048, allocations: 4.197 MB / 0.6824 GB, free: 140.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.048, allocations: 118.3 kB / 0.6825 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/1.049, allocations: 0.843 MB / 0.6833 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/1.049, allocations: 25.7 kB / 0.6833 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/1.049, allocations: 325.5 kB / 0.6836 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/1.049, allocations: 343.1 kB / 0.684 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/1.049, allocations: 4.031 kB / 0.684 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/1.049, allocations: 342.2 kB / 0.6843 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/1.05, allocations: 454.4 kB / 0.6847 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/1.051, allocations: 0.5653 MB / 0.6853 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/1.051, allocations: 0.4943 MB / 0.6858 GB, free: 139.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.051, allocations: 10 kB / 0.6858 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01128/1.063, allocations: 4.219 MB / 0.6899 GB, free: 139 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.063, allocations: 3.406 kB / 0.6899 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.063, allocations: 3.719 kB / 0.6899 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005206/1.068, allocations: 1.574 MB / 0.6914 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.069, allocations: 202.8 kB / 0.6916 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/1.081, allocations: 5.959 MB / 0.6975 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.083, allocations: 193 kB / 0.6976 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.083, allocations: 45.92 kB / 0.6977 GB, free: 137.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.000259/1.083, allocations: 153 kB / 0.6978 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.083, allocations: 128.8 kB / 0.6979 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.096, allocations: 4.298 MB / 0.7021 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.096, allocations: 11.06 kB / 0.7022 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.096, allocations: 6.438 kB / 0.7022 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.096, allocations: 8.75 kB / 0.7022 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.109, allocations: 5.72 MB / 0.7078 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.109, allocations: 3.906 kB / 0.7078 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/1.11, allocations: 101.1 kB / 0.7079 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/1.114, allocations: 1.531 MB / 0.7094 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/1.114, allocations: 9.797 kB / 0.7094 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.126, allocations: 7.145 MB / 0.7163 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.126, allocations: 2.531 kB / 0.7163 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01231/1.139, allocations: 5.067 MB / 0.7213 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01379/1.152, allocations: 6.184 MB / 0.7273 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/1.153, allocations: 232.6 kB / 0.7276 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.153, allocations: 6.609 kB / 0.7276 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.154, allocations: 143.4 kB / 0.7277 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/1.155, allocations: 113.4 kB / 0.7278 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/1.155, allocations: 26.84 kB / 0.7278 GB, free: 128.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008262/1.156, allocations: 0.6422 MB / 0.7285 GB, free: 128.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001784/1.157, allocations: 399.5 kB / 0.7288 GB, free: 128.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/1.158, allocations: 144.8 kB / 0.729 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004829/1.163, allocations: 1.98 MB / 0.7309 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.163, allocations: 1.156 kB / 0.7309 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003694/1.166, allocations: 1.494 MB / 0.7324 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/1.167, allocations: 90.48 kB / 0.7325 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/1.171, allocations: 1.83 MB / 0.7342 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/1.172, allocations: 1.238 MB / 0.7355 GB, free: 124.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/1.172, allocations: 0 / 0.7355 GB, free: 124.1 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)