Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_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.001991/0.001991, allocations: 179.7 kB / 7.458 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.052/1.052, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0008545/0.0008545, allocations: 102.2 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3621/0.3621, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1255/0.4875, allocations: 75.49 MB / 484.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.7201, allocations: 69.34 MB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.8226, allocations: 102 MB / 0.6405 GB, free: 2.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.8228, allocations: 83.95 kB / 0.6406 GB, free: 2.809 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.4136/1.236, allocations: 106.1 MB / 0.7442 GB, free: 63.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.236, allocations: 11.94 kB / 0.7442 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/1.253, allocations: 2.927 MB / 0.747 GB, free: 60.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/1.258, allocations: 2.269 MB / 0.7492 GB, free: 58.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007706/1.259, allocations: 0.883 MB / 0.7501 GB, free: 57.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.26, allocations: 204 kB / 0.7503 GB, free: 57.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005473/1.266, allocations: 3.447 MB / 0.7537 GB, free: 53.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/1.271, allocations: 3.61 MB / 0.7572 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/1.271, allocations: 0 / 0.7572 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/1.271, allocations: 3.906 kB / 0.7572 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.522e-05/1.271, allocations: 84 kB / 0.7573 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.027/1.298, allocations: 18.63 MB / 0.7755 GB, free: 30.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/1.301, allocations: 2.282 MB / 0.7777 GB, free: 28.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/1.304, allocations: 2.124 MB / 0.7798 GB, free: 26.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/1.304, allocations: 70.92 kB / 0.7798 GB, free: 25.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003152/1.307, allocations: 2.497 MB / 0.7823 GB, free: 23.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 5.069e-06/1.307, allocations: 0 / 0.7823 GB, free: 23.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.04863/1.356, allocations: 18.4 MB / 0.8002 GB, free: 4.988 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.356, allocations: 145.8 kB / 0.8004 GB, free: 4.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/1.36, allocations: 2.48 MB / 0.8028 GB, free: 2.324 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006821/1.36, allocations: 29.73 kB / 0.8028 GB, free: 2.289 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/1.361, allocations: 1.178 MB / 0.804 GB, free: 1.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.362, allocations: 1.27 MB / 0.8052 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/1.363, allocations: 3.938 kB / 0.8052 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.363, allocations: 441.8 kB / 0.8056 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.366, allocations: 1.785 MB / 0.8074 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/1.369, allocations: 2.35 MB / 0.8097 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/1.372, allocations: 1.981 MB / 0.8116 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.372, allocations: 4 kB / 0.8116 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05315/1.426, allocations: 18.51 MB / 0.8297 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.426, allocations: 8 kB / 0.8297 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/1.426, allocations: 12 kB / 0.8297 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02495/1.451, allocations: 7.278 MB / 0.8368 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/1.454, allocations: 0.5655 MB / 0.8374 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.058/1.512, allocations: 23.59 MB / 0.8604 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/1.518, allocations: 0.6762 MB / 0.8611 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000791/1.519, allocations: 136 kB / 0.8612 GB, free: 5.918 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (334): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008395/1.519, allocations: 206.8 kB / 0.8614 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.52, allocations: 454.4 kB / 0.8618 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05446/1.575, allocations: 18.85 MB / 0.8803 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/1.575, allocations: 40 kB / 0.8803 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/1.575, allocations: 28 kB / 0.8803 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/1.575, allocations: 23.86 kB / 0.8803 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2119/1.787, allocations: 23.45 MB / 0.9032 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.787, allocations: 4.5 kB / 0.9033 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.79, allocations: 393.4 kB / 0.9036 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02207/1.812, allocations: 7.285 MB / 0.9107 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007767/1.813, allocations: 17.56 kB / 0.9108 GB, free: 162.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04811/1.861, allocations: 21.96 MB / 0.9322 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.861, allocations: 1.031 kB / 0.9322 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0562/1.917, allocations: 21.8 MB / 0.9535 GB, free: 156 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06104/1.978, allocations: 25.33 MB / 0.9782 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.979, allocations: 0.5645 MB / 0.9788 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000785/1.98, allocations: 0 / 0.9788 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/1.984, allocations: 491.3 kB / 0.9792 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.986, allocations: 462.3 kB / 0.9797 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.986, allocations: 95.8 kB / 0.9798 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002215/1.988, allocations: 1.837 MB / 0.9816 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00451/1.993, allocations: 1.58 MB / 0.9831 GB, free: 136.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004575/1.993, allocations: 165.1 kB / 0.9833 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01955/2.013, allocations: 8.051 MB / 0.9911 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.013, allocations: 4.25 kB / 0.9911 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01592/2.029, allocations: 5.969 MB / 0.997 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/2.031, allocations: 245.5 kB / 0.9972 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/2.045, allocations: 6.113 MB / 1.003 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/2.048, allocations: 2.709 MB / 1.006 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/2.048, allocations: 0 / 1.006 GB, free: 115.7 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)