Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.001898/0.001898, allocations: 185.7 kB / 7.464 MB, free: 2.5 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.063/1.063, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0008332/0.0008332, allocations: 100.9 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3695/0.3695, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.118/0.4875, allocations: 75.49 MB / 484.5 MB, free: 4.477 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.7292, allocations: 69.34 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09748/0.8267, allocations: 98.27 MB / 0.6368 GB, free: 6.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.827, allocations: 79.95 kB / 0.6369 GB, free: 6.57 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.08252/0.9095, allocations: 32.42 MB / 0.6685 GB, free: 5.879 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.9095, allocations: 15.94 kB / 0.6686 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.9129, allocations: 0.5797 MB / 0.6691 GB, free: 5.281 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.9142, allocations: 0.8156 MB / 0.6699 GB, free: 4.414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.9144, allocations: 206.5 kB / 0.6701 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.9145, allocations: 44 kB / 0.6702 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/0.916, allocations: 0.8241 MB / 0.671 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9174, allocations: 0.857 MB / 0.6718 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.9174, allocations: 0 / 0.6718 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.9175, allocations: 0 / 0.6718 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.9175, allocations: 23.94 kB / 0.6718 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/1.063, allocations: 3.9 MB / 0.6756 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/1.064, allocations: 0.6158 MB / 0.6762 GB, free: 137.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/1.064, allocations: 0.5279 MB / 0.6767 GB, free: 137.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.064, allocations: 17.86 kB / 0.6768 GB, free: 137.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/1.064, allocations: 45.84 kB / 0.6768 GB, free: 137.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.267e-06/1.064, allocations: 0 / 0.6768 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01113/1.076, allocations: 4.081 MB / 0.6808 GB, free: 137.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.076, allocations: 142.8 kB / 0.6809 GB, free: 137.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.077, allocations: 0.8533 MB / 0.6818 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.077, allocations: 26.2 kB / 0.6818 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.077, allocations: 317.7 kB / 0.6821 GB, free: 137.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/1.077, allocations: 341.7 kB / 0.6824 GB, free: 137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/1.077, allocations: 0 / 0.6824 GB, free: 137 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/1.077, allocations: 339.7 kB / 0.6827 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/1.078, allocations: 446.8 kB / 0.6832 GB, free: 136.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/1.079, allocations: 0.5749 MB / 0.6837 GB, free: 136.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/1.079, allocations: 0.4935 MB / 0.6842 GB, free: 136.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.079, allocations: 1.688 kB / 0.6842 GB, free: 136.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01184/1.091, allocations: 4.273 MB / 0.6884 GB, free: 136.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.091, allocations: 1.148 MB / 0.6895 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.091, allocations: 3.969 kB / 0.6895 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005325/1.097, allocations: 1.601 MB / 0.6911 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/1.098, allocations: 159.9 kB / 0.6912 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.11, allocations: 7.177 MB / 0.6982 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.112, allocations: 178.2 kB / 0.6984 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/1.112, allocations: 36.52 kB / 0.6984 GB, free: 132.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/1.112, allocations: 4.188 kB / 0.6984 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01236/1.124, allocations: 4.118 MB / 0.7025 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/1.124, allocations: 4.281 kB / 0.7025 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/1.13, allocations: 1.595 MB / 0.704 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/1.131, allocations: 157.9 kB / 0.7042 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.144, allocations: 7.164 MB / 0.7112 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.146, allocations: 170 kB / 0.7113 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.146, allocations: 36.08 kB / 0.7114 GB, free: 129.1 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.0003294/1.146, allocations: 151.9 kB / 0.7115 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/1.146, allocations: 122.7 kB / 0.7116 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.158, allocations: 4.174 MB / 0.7157 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.158, allocations: 15.78 kB / 0.7157 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.158, allocations: 9.859 kB / 0.7157 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/1.158, allocations: 6.75 kB / 0.7157 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/1.171, allocations: 5.706 MB / 0.7213 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.171, allocations: 0 / 0.7213 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/1.171, allocations: 118.3 kB / 0.7214 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004303/1.176, allocations: 1.471 MB / 0.7229 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/1.176, allocations: 9.891 kB / 0.7229 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/1.186, allocations: 5.188 MB / 0.7279 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.186, allocations: 0.8594 kB / 0.7279 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01322/1.2, allocations: 4.94 MB / 0.7328 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01396/1.214, allocations: 6.075 MB / 0.7387 GB, free: 118.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/1.214, allocations: 225.4 kB / 0.7389 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/1.214, allocations: 14.08 kB / 0.7389 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.216, allocations: 127 kB / 0.739 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/1.216, allocations: 102 kB / 0.7391 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/1.216, allocations: 31.23 kB / 0.7392 GB, free: 118.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008267/1.217, allocations: 0.6513 MB / 0.7398 GB, free: 117.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002907/1.22, allocations: 0.6423 MB / 0.7404 GB, free: 116.9 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.0002763/1.22, allocations: 148.1 kB / 0.7406 GB, free: 116.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008683/1.229, allocations: 3.684 MB / 0.7442 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/1.229, allocations: 0 / 0.7442 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003665/1.232, allocations: 1.404 MB / 0.7455 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/1.233, allocations: 93.95 kB / 0.7456 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/1.238, allocations: 2.009 MB / 0.7476 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/1.239, allocations: 1.243 MB / 0.7488 GB, free: 109.2 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/1.239, allocations: 4 kB / 0.7488 GB, free: 109.2 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)