Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_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 3.2.3+maint.om/package.mo): time 0.002582/0.002582, allocations: 178.5 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008605/0.0008605, allocations: 87.61 kB / 261.1 MB, free: 13.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06491/0.06491, allocations: 12.2 MB / 321.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2777/0.2777, allocations: 78.05 MB / 449.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2481/0.5258, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.6417, allocations: 69.23 MB / 0.5813 GB, free: 9.223 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.9556, allocations: 101.3 MB / 0.6802 GB, free: 7.809 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.9559, allocations: 73.08 kB / 0.6802 GB, free: 7.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.1849/1.141, allocations: 69.18 MB / 0.7478 GB, free: 13.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.141, allocations: 15.94 kB / 0.7478 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/1.152, allocations: 1.67 MB / 0.7494 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005908/1.158, allocations: 1.694 MB / 0.7511 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008456/1.159, allocations: 0.628 MB / 0.7517 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/1.16, allocations: 123.9 kB / 0.7518 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0058/1.166, allocations: 2.242 MB / 0.754 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005434/1.171, allocations: 2.291 MB / 0.7563 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/1.171, allocations: 0 / 0.7563 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/1.172, allocations: 0 / 0.7563 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/1.172, allocations: 52 kB / 0.7563 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/1.192, allocations: 10.02 MB / 0.7661 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/1.195, allocations: 1.583 MB / 0.7676 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/1.197, allocations: 1.474 MB / 0.7691 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/1.197, allocations: 42.03 kB / 0.7691 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.197, allocations: 68.55 kB / 0.7692 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.429e-06/1.197, allocations: 3.938 kB / 0.7692 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03941/1.237, allocations: 12.92 MB / 0.7818 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.237, allocations: 235.6 kB / 0.782 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.24, allocations: 1.737 MB / 0.7837 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007351/1.241, allocations: 29.64 kB / 0.7837 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/1.242, allocations: 0.7038 MB / 0.7844 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.243, allocations: 0.8158 MB / 0.7852 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/1.243, allocations: 0 / 0.7852 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.244, allocations: 398.6 kB / 0.7856 GB, free: 6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.246, allocations: 1.208 MB / 0.7868 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/1.248, allocations: 1.504 MB / 0.7883 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/1.25, allocations: 1.336 MB / 0.7896 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.25, allocations: 4 kB / 0.7896 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=302) (initialization): time 0.04018/1.291, allocations: 13.04 MB / 0.8023 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00108/1.292, allocations: 2.757 MB / 0.805 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/1.292, allocations: 8 kB / 0.805 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/1.309, allocations: 5.146 MB / 0.81 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/1.312, allocations: 371.5 kB / 0.8104 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0404/1.352, allocations: 16.5 MB / 0.8265 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/1.357, allocations: 0.5017 MB / 0.827 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/1.357, allocations: 83.97 kB / 0.8271 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.357, allocations: 4 kB / 0.8271 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04073/1.398, allocations: 12.7 MB / 0.8395 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/1.398, allocations: 4 kB / 0.8395 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/1.415, allocations: 5.146 MB / 0.8445 GB, free: 8.961 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.418, allocations: 355.5 kB / 0.8448 GB, free: 8.613 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2167/1.634, allocations: 16.49 MB / 0.861 GB, free: 211.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/1.639, allocations: 488.9 kB / 0.8614 GB, free: 211.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/1.639, allocations: 78.7 kB / 0.8615 GB, free: 211.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-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 order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (213): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006982/1.64, allocations: 206.3 kB / 0.8617 GB, free: 211.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/1.641, allocations: 300.1 kB / 0.862 GB, free: 211 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/1.677, allocations: 13.18 MB / 0.8748 GB, free: 210.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.677, allocations: 24.12 kB / 0.8749 GB, free: 210.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.677, allocations: 17.44 kB / 0.8749 GB, free: 210.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.18e-05/1.677, allocations: 15.44 kB / 0.8749 GB, free: 210.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04137/1.719, allocations: 16.71 MB / 0.8912 GB, free: 210 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.719, allocations: 0 / 0.8912 GB, free: 210 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.721, allocations: 286.4 kB / 0.8915 GB, free: 210 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.735, allocations: 4.967 MB / 0.8963 GB, free: 209.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006147/1.736, allocations: 21.16 kB / 0.8964 GB, free: 209.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03337/1.769, allocations: 13.74 MB / 0.9098 GB, free: 206.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.769, allocations: 0 / 0.9098 GB, free: 206.6 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03957/1.809, allocations: 15.2 MB / 0.9246 GB, free: 194 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04303/1.852, allocations: 17.66 MB / 0.9419 GB, free: 179 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.853, allocations: 419.4 kB / 0.9423 GB, free: 178.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007449/1.854, allocations: 8 kB / 0.9423 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/1.857, allocations: 389.3 kB / 0.9427 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008295/1.858, allocations: 318.2 kB / 0.943 GB, free: 178.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.858, allocations: 63.52 kB / 0.943 GB, free: 178.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001663/1.86, allocations: 1.304 MB / 0.9443 GB, free: 176.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00527/1.865, allocations: 1.619 MB / 0.9459 GB, free: 175.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004669/1.866, allocations: 160 kB / 0.946 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02663/1.892, allocations: 9.86 MB / 0.9557 GB, free: 166.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.718e-05/1.893, allocations: 0 / 0.9557 GB, free: 166.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.905, allocations: 3.947 MB / 0.9595 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/1.907, allocations: 198.2 kB / 0.9597 GB, free: 162.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.92, allocations: 4.466 MB / 0.9641 GB, free: 158.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.922, allocations: 2.018 MB / 0.966 GB, free: 157 MB / 0.573 GB Notification: Performance of SimCode: time 8.91e-07/1.922, allocations: 0 / 0.966 GB, free: 157 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)