Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001827/0.001827, allocations: 180.6 kB / 7.459 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.061/1.061, 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.0009084/0.0009085, allocations: 102.9 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3567/0.3567, allocations: 78.1 MB / 409 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1134/0.4701, allocations: 75.49 MB / 484.5 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.6904, allocations: 69.34 MB / 0.5408 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0977/0.7882, allocations: 99.5 MB / 0.638 GB, free: 5.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.7884, allocations: 75.95 kB / 0.6381 GB, free: 5.238 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.3275/1.116, allocations: 70.54 MB / 0.707 GB, free: 95.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/1.116, allocations: 8.781 kB / 0.707 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.126, allocations: 1.676 MB / 0.7086 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/1.129, allocations: 1.663 MB / 0.7102 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005697/1.13, allocations: 0.6205 MB / 0.7108 GB, free: 93.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006139/1.131, allocations: 131.4 kB / 0.711 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004005/1.135, allocations: 2.226 MB / 0.7131 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/1.139, allocations: 2.292 MB / 0.7154 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/1.139, allocations: 5.219 kB / 0.7154 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/1.139, allocations: 5.391 kB / 0.7154 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/1.139, allocations: 47.94 kB / 0.7154 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/1.154, allocations: 9.983 MB / 0.7252 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/1.156, allocations: 1.579 MB / 0.7267 GB, free: 80.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/1.158, allocations: 1.47 MB / 0.7282 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/1.159, allocations: 37.72 kB / 0.7282 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.159, allocations: 68.56 kB / 0.7283 GB, free: 78.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.208e-06/1.159, allocations: 0 / 0.7283 GB, free: 78.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03507/1.194, allocations: 12.89 MB / 0.7409 GB, free: 65.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.194, allocations: 231.6 kB / 0.7411 GB, free: 65.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.196, allocations: 1.728 MB / 0.7428 GB, free: 63.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002392/1.196, allocations: 29.7 kB / 0.7428 GB, free: 63.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/1.196, allocations: 0.6998 MB / 0.7435 GB, free: 63.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008853/1.197, allocations: 0.8081 MB / 0.7443 GB, free: 62.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.197, allocations: 0 / 0.7443 GB, free: 62.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/1.197, allocations: 394.7 kB / 0.7446 GB, free: 62.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.199, allocations: 1.2 MB / 0.7458 GB, free: 60.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/1.201, allocations: 1.5 MB / 0.7473 GB, free: 59.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/1.203, allocations: 1.326 MB / 0.7486 GB, free: 57.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.203, allocations: 7.938 kB / 0.7486 GB, free: 57.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0321/1.235, allocations: 12.08 MB / 0.7604 GB, free: 45.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/1.235, allocations: 2.761 MB / 0.7631 GB, free: 42.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.235, allocations: 4 kB / 0.7631 GB, free: 42.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/1.249, allocations: 4.829 MB / 0.7678 GB, free: 37.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/1.253, allocations: 0.718 MB / 0.7685 GB, free: 37.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03093/1.284, allocations: 14.3 MB / 0.7825 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.288, allocations: 0.5134 MB / 0.783 GB, free: 22.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002956/1.288, allocations: 83.98 kB / 0.783 GB, free: 22.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/1.288, allocations: 4 kB / 0.7831 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03171/1.32, allocations: 11.76 MB / 0.7945 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.32, allocations: 12 kB / 0.7945 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/1.334, allocations: 4.823 MB / 0.7993 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/1.337, allocations: 0.7062 MB / 0.7999 GB, free: 4.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03351/1.371, allocations: 14.29 MB / 0.8139 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.375, allocations: 498 kB / 0.8144 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/1.375, allocations: 79.98 kB / 0.8145 GB, free: 5.879 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006567/1.376, allocations: 213.3 kB / 0.8147 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/1.376, allocations: 296.3 kB / 0.8149 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03787/1.414, allocations: 13.16 MB / 0.8278 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.414, allocations: 24 kB / 0.8278 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.414, allocations: 20 kB / 0.8278 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.414, allocations: 11.95 kB / 0.8278 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04249/1.457, allocations: 16.68 MB / 0.8441 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.457, allocations: 0 / 0.8441 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.458, allocations: 275.6 kB / 0.8444 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01491/1.473, allocations: 5.011 MB / 0.8493 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/1.474, allocations: 19.98 kB / 0.8493 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03246/1.506, allocations: 13.68 MB / 0.8627 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.506, allocations: 0 / 0.8627 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04114/1.547, allocations: 15.17 MB / 0.8775 GB, free: 5.148 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.174/1.721, allocations: 17.62 MB / 0.8947 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008041/1.722, allocations: 408.6 kB / 0.8951 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/1.723, allocations: 9.312 kB / 0.8951 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.725, allocations: 385.5 kB / 0.8955 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007955/1.726, allocations: 327.8 kB / 0.8958 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.727, allocations: 62.42 kB / 0.8958 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001449/1.728, allocations: 1.29 MB / 0.8971 GB, free: 191.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004442/1.732, allocations: 1.584 MB / 0.8986 GB, free: 191.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/1.733, allocations: 159.7 kB / 0.8988 GB, free: 191.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02182/1.755, allocations: 9.593 MB / 0.9082 GB, free: 190.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.755, allocations: 0 / 0.9082 GB, free: 190.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/1.765, allocations: 3.964 MB / 0.912 GB, free: 190.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.766, allocations: 198 kB / 0.9122 GB, free: 190.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/1.775, allocations: 4.377 MB / 0.9165 GB, free: 188.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.777, allocations: 1.997 MB / 0.9184 GB, free: 188.2 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.777, allocations: 0 / 0.9184 GB, free: 188.2 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)