Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.003058/0.003057, allocations: 182.5 kB / 7.461 MB, free: 2.504 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.353/1.353, allocations: 221.4 MB / 229.3 MB, free: 3.242 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.0009911/0.0009912, allocations: 94.98 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4171/0.4171, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1371/0.5542, allocations: 75.64 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.8634, allocations: 69.5 MB / 0.542 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.9801, allocations: 100.5 MB / 0.6401 GB, free: 3.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.9804, allocations: 79.95 kB / 0.6402 GB, free: 3.41 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.4401/1.42, allocations: 74.04 MB / 0.7125 GB, free: 93.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.421, allocations: 9.688 kB / 0.7125 GB, free: 93.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.432, allocations: 1.674 MB / 0.7141 GB, free: 92.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/1.437, allocations: 1.665 MB / 0.7157 GB, free: 91.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00079/1.438, allocations: 0.6859 MB / 0.7164 GB, free: 90.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.439, allocations: 126.5 kB / 0.7165 GB, free: 90.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00568/1.445, allocations: 2.226 MB / 0.7187 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005911/1.451, allocations: 2.286 MB / 0.7209 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/1.451, allocations: 4 kB / 0.7209 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004516/1.451, allocations: 0 / 0.7209 GB, free: 86.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/1.451, allocations: 55.88 kB / 0.721 GB, free: 86.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/1.472, allocations: 9.843 MB / 0.7306 GB, free: 76.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/1.475, allocations: 2.058 MB / 0.7326 GB, free: 74.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/1.477, allocations: 1.462 MB / 0.7341 GB, free: 73.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/1.478, allocations: 37.8 kB / 0.7341 GB, free: 73.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00276/1.481, allocations: 1.702 MB / 0.7357 GB, free: 71.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.43e-06/1.481, allocations: 0 / 0.7357 GB, free: 71.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03886/1.519, allocations: 13.16 MB / 0.7486 GB, free: 58.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.52, allocations: 188.2 kB / 0.7488 GB, free: 58.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/1.523, allocations: 1.729 MB / 0.7505 GB, free: 56.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.523, allocations: 29.7 kB / 0.7505 GB, free: 56.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/1.523, allocations: 0.7076 MB / 0.7512 GB, free: 55.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/1.525, allocations: 0.8274 MB / 0.752 GB, free: 54.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.525, allocations: 4 kB / 0.752 GB, free: 54.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/1.525, allocations: 403 kB / 0.7524 GB, free: 54.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.527, allocations: 1.22 MB / 0.7536 GB, free: 53.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/1.529, allocations: 1.519 MB / 0.7551 GB, free: 51.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.531, allocations: 1.348 MB / 0.7564 GB, free: 50.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.531, allocations: 4 kB / 0.7564 GB, free: 50.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03735/1.568, allocations: 13.11 MB / 0.7692 GB, free: 36.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.569, allocations: 8 kB / 0.7692 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.569, allocations: 4 kB / 0.7692 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/1.585, allocations: 5.223 MB / 0.7743 GB, free: 31.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/1.588, allocations: 435.4 kB / 0.7747 GB, free: 31.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03794/1.626, allocations: 15.47 MB / 0.7898 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.631, allocations: 0.5212 MB / 0.7903 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006774/1.632, allocations: 83.98 kB / 0.7904 GB, free: 15.06 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-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 (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.633, allocations: 225.4 kB / 0.7906 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/1.634, allocations: 296.3 kB / 0.7909 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03824/1.672, allocations: 13.43 MB / 0.804 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/1.672, allocations: 24 kB / 0.804 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.01e-05/1.672, allocations: 27.92 kB / 0.8041 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-05/1.672, allocations: 11.95 kB / 0.8041 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04842/1.721, allocations: 16.74 MB / 0.8204 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.721, allocations: 4 kB / 0.8204 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.723, allocations: 247.6 kB / 0.8207 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0172/1.74, allocations: 5.19 MB / 0.8257 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009516/1.741, allocations: 19.98 kB / 0.8258 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04487/1.786, allocations: 17.47 MB / 0.8428 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.786, allocations: 0 / 0.8428 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04821/1.834, allocations: 15.47 MB / 0.8579 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05122/1.885, allocations: 17.93 MB / 0.8754 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.887, allocations: 408.8 kB / 0.8758 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/1.888, allocations: 11.94 kB / 0.8758 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004321/1.893, allocations: 411.6 kB / 0.8762 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/1.894, allocations: 337.3 kB / 0.8765 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005154/1.895, allocations: 67.98 kB / 0.8766 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00283/1.898, allocations: 1.288 MB / 0.8779 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005397/1.903, allocations: 1.01 MB / 0.8789 GB, free: 3.789 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.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 (158): * Single equations (assignments): 153 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007644/1.904, allocations: 148.2 kB / 0.879 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01571/1.919, allocations: 5.522 MB / 0.8844 GB, free: 14.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.92, allocations: 4.562 kB / 0.8844 GB, free: 14.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.932, allocations: 4.224 MB / 0.8885 GB, free: 9.762 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.935, allocations: 184.3 kB / 0.8887 GB, free: 9.582 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.949, allocations: 4.197 MB / 0.8928 GB, free: 5.316 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/1.951, allocations: 2.002 MB / 0.8948 GB, free: 3.281 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/1.952, allocations: 0 / 0.8948 GB, free: 3.281 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)