Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.001996/0.001996, allocations: 180.7 kB / 7.457 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.227/1.227, allocations: 221.4 MB / 229.3 MB, free: 3 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.001052/0.001052, allocations: 89.11 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.4598/0.4598, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1517/0.6115, allocations: 75.65 MB / 485.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.9215, allocations: 69.5 MB / 0.542 GB, free: 20.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/1.047, allocations: 99.26 MB / 0.6389 GB, free: 4.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.047, allocations: 79.95 kB / 0.639 GB, free: 4.555 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.09529/1.142, allocations: 33.94 MB / 0.6721 GB, free: 2.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.142, allocations: 15.92 kB / 0.6721 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/1.146, allocations: 0.5797 MB / 0.6727 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/1.148, allocations: 0.8058 MB / 0.6735 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/1.149, allocations: 240.2 kB / 0.6737 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/1.149, allocations: 51.91 kB / 0.6738 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.203/1.352, allocations: 0.8123 MB / 0.6745 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.354, allocations: 0.8486 MB / 0.6754 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/1.354, allocations: 1.969 kB / 0.6754 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.354, allocations: 0 / 0.6754 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/1.354, allocations: 19.53 kB / 0.6754 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007388/1.362, allocations: 3.846 MB / 0.6791 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.363, allocations: 0.6293 MB / 0.6798 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007762/1.364, allocations: 0.5217 MB / 0.6803 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/1.364, allocations: 22.11 kB / 0.6803 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/1.365, allocations: 0.655 MB / 0.6809 GB, free: 139 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.859e-06/1.365, allocations: 0 / 0.6809 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01296/1.378, allocations: 4.209 MB / 0.685 GB, free: 138.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.378, allocations: 116.7 kB / 0.6852 GB, free: 138.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/1.38, allocations: 0.8585 MB / 0.686 GB, free: 138.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.38, allocations: 29.64 kB / 0.686 GB, free: 138.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/1.381, allocations: 331.8 kB / 0.6863 GB, free: 138.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/1.381, allocations: 334.4 kB / 0.6867 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.381, allocations: 0 / 0.6867 GB, free: 138.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/1.381, allocations: 350.4 kB / 0.687 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009111/1.382, allocations: 456.6 kB / 0.6874 GB, free: 137.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/1.383, allocations: 0.5874 MB / 0.688 GB, free: 137.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/1.384, allocations: 0.4988 MB / 0.6885 GB, free: 137.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.384, allocations: 0 / 0.6885 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01305/1.397, allocations: 4.297 MB / 0.6927 GB, free: 137.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.397, allocations: 10.02 kB / 0.6927 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.397, allocations: 4.844 kB / 0.6927 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/1.404, allocations: 1.656 MB / 0.6943 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.405, allocations: 182.6 kB / 0.6945 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/1.421, allocations: 7.321 MB / 0.7016 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.423, allocations: 201.9 kB / 0.7018 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/1.423, allocations: 41.47 kB / 0.7019 GB, free: 134.6 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (99): * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006233/1.424, allocations: 157 kB / 0.702 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/1.425, allocations: 127.6 kB / 0.7021 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.439, allocations: 4.315 MB / 0.7064 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/1.439, allocations: 12.61 kB / 0.7064 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.565e-05/1.439, allocations: 7.469 kB / 0.7064 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/1.439, allocations: 10.09 kB / 0.7064 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/1.456, allocations: 5.747 MB / 0.712 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/1.456, allocations: 0 / 0.712 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/1.457, allocations: 112.3 kB / 0.7121 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/1.462, allocations: 1.537 MB / 0.7136 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.463, allocations: 10.34 kB / 0.7136 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/1.476, allocations: 7.127 MB / 0.7206 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.476, allocations: 0 / 0.7206 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01431/1.491, allocations: 5.086 MB / 0.7255 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01602/1.507, allocations: 6.22 MB / 0.7316 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/1.507, allocations: 232.1 kB / 0.7318 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004414/1.508, allocations: 5.875 kB / 0.7318 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.509, allocations: 142.3 kB / 0.732 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.51, allocations: 123.3 kB / 0.7321 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.51, allocations: 22.72 kB / 0.7321 GB, free: 124.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001121/1.511, allocations: 0.6567 MB / 0.7328 GB, free: 124.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002295/1.513, allocations: 407.8 kB / 0.7331 GB, free: 124.5 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,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 (66): * Single equations (assignments): 63 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003264/1.514, allocations: 135.8 kB / 0.7333 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005959/1.52, allocations: 2.102 MB / 0.7353 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.52, allocations: 0 / 0.7353 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003948/1.524, allocations: 1.528 MB / 0.7368 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.525, allocations: 88.02 kB / 0.7369 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/1.53, allocations: 1.927 MB / 0.7388 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.532, allocations: 1.234 MB / 0.74 GB, free: 119.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.964e-06/1.532, allocations: 0 / 0.74 GB, free: 119.4 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)