Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_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 3.2.3+maint.om/package.mo): time 0.002549/0.002549, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.241/1.241, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009727/0.0009726, allocations: 90.08 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06574/0.06574, allocations: 12.19 MB / 321.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2837/0.2837, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.292/0.5758, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.7185, allocations: 69.23 MB / 0.5813 GB, free: 9.191 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/1.141, allocations: 101.7 MB / 0.6806 GB, free: 7.371 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.142, allocations: 79.44 kB / 0.6807 GB, free: 7.328 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.1978/1.34, allocations: 71.78 MB / 0.7508 GB, free: 10.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.34, allocations: 15.88 kB / 0.7508 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.351, allocations: 1.674 MB / 0.7524 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/1.356, allocations: 1.674 MB / 0.754 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008344/1.357, allocations: 0.6822 MB / 0.7547 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/1.358, allocations: 131.9 kB / 0.7548 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006238/1.364, allocations: 2.234 MB / 0.757 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/1.37, allocations: 2.29 MB / 0.7593 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/1.37, allocations: 7.984 kB / 0.7593 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/1.37, allocations: 4 kB / 0.7593 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/1.37, allocations: 51.91 kB / 0.7593 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/1.392, allocations: 9.882 MB / 0.769 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/1.397, allocations: 2.063 MB / 0.771 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/1.399, allocations: 1.473 MB / 0.7724 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/1.4, allocations: 45.89 kB / 0.7725 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003043/1.403, allocations: 1.713 MB / 0.7741 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 4.238e-06/1.403, allocations: 0 / 0.7741 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=250): time 0.04227/1.445, allocations: 13.17 MB / 0.787 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.445, allocations: 184.2 kB / 0.7872 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/1.449, allocations: 1.737 MB / 0.7889 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000728/1.449, allocations: 25.7 kB / 0.7889 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/1.45, allocations: 0.7114 MB / 0.7896 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.452, allocations: 0.8313 MB / 0.7904 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.452, allocations: 4.062 kB / 0.7904 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.452, allocations: 399 kB / 0.7908 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/1.454, allocations: 1.243 MB / 0.792 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/1.457, allocations: 1.531 MB / 0.7935 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/1.459, allocations: 1.354 MB / 0.7948 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/1.459, allocations: 0 / 0.7948 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04156/1.501, allocations: 13.19 MB / 0.8077 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.501, allocations: 8 kB / 0.8077 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.501, allocations: 4 kB / 0.8077 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01918/1.52, allocations: 5.291 MB / 0.8129 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/1.523, allocations: 411.4 kB / 0.8133 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04381/1.567, allocations: 16.83 MB / 0.8297 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.572, allocations: 0.5172 MB / 0.8302 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/1.573, allocations: 91.97 kB / 0.8303 GB, free: 7.738 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real 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 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007365/1.574, allocations: 205.9 kB / 0.8305 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.575, allocations: 300.2 kB / 0.8308 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04192/1.617, allocations: 13.44 MB / 0.8439 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/1.617, allocations: 28 kB / 0.8439 GB, free: 9.668 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/1.617, allocations: 16 kB / 0.8439 GB, free: 9.652 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-05/1.617, allocations: 19.86 kB / 0.844 GB, free: 9.633 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2342/1.851, allocations: 16.79 MB / 0.8604 GB, free: 211.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.851, allocations: 2.719 kB / 0.8604 GB, free: 211.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.853, allocations: 253.6 kB / 0.8606 GB, free: 211.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.869, allocations: 5.156 MB / 0.8656 GB, free: 211.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008432/1.87, allocations: 17.2 kB / 0.8657 GB, free: 211.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03988/1.91, allocations: 17.5 MB / 0.8827 GB, free: 207.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.91, allocations: 6.188 kB / 0.8828 GB, free: 207.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0441/1.954, allocations: 15.5 MB / 0.8979 GB, free: 206.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04761/2.002, allocations: 17.98 MB / 0.9155 GB, free: 200.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/2.003, allocations: 416.4 kB / 0.9158 GB, free: 200.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008609/2.004, allocations: 4 kB / 0.9159 GB, free: 200.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/2.008, allocations: 403.8 kB / 0.9162 GB, free: 199.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009663/2.009, allocations: 350 kB / 0.9166 GB, free: 199.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/2.009, allocations: 71.94 kB / 0.9166 GB, free: 199.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001808/2.011, allocations: 1.3 MB / 0.9179 GB, free: 198.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003383/2.014, allocations: 1.018 MB / 0.9189 GB, free: 197.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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/2.015, allocations: 142.1 kB / 0.919 GB, free: 197.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01361/2.028, allocations: 5.66 MB / 0.9246 GB, free: 192.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.028, allocations: 0 / 0.9246 GB, free: 192.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01159/2.04, allocations: 4.212 MB / 0.9287 GB, free: 188.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/2.043, allocations: 186 kB / 0.9289 GB, free: 188.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/2.053, allocations: 4.292 MB / 0.933 GB, free: 184.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/2.055, allocations: 2.013 MB / 0.935 GB, free: 182.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.12e-07/2.055, allocations: 0 / 0.935 GB, free: 182.7 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)