Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002563/0.002562, allocations: 179.8 kB / 7.458 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.155/1.155, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0009371/0.0009371, allocations: 91 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.06001/0.06001, allocations: 12.2 MB / 321.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2741/0.2741, allocations: 78.05 MB / 449.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.521, allocations: 76.09 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.6418, allocations: 69.23 MB / 0.5813 GB, free: 9.137 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.9695, allocations: 101.5 MB / 0.6804 GB, free: 7.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.9697, allocations: 77.33 kB / 0.6804 GB, free: 7.449 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.1885/1.158, allocations: 71.34 MB / 0.7501 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.158, allocations: 15.92 kB / 0.7501 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/1.17, allocations: 1.674 MB / 0.7518 GB, free: 9.328 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/1.174, allocations: 1.666 MB / 0.7534 GB, free: 7.598 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007909/1.175, allocations: 0.6783 MB / 0.754 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009082/1.176, allocations: 131.9 kB / 0.7542 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005616/1.182, allocations: 2.223 MB / 0.7563 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/1.187, allocations: 2.294 MB / 0.7586 GB, free: 2.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/1.187, allocations: 3.984 kB / 0.7586 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/1.187, allocations: 0 / 0.7586 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/1.187, allocations: 52 kB / 0.7586 GB, free: 2.027 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02185/1.209, allocations: 9.852 MB / 0.7683 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/1.213, allocations: 2.043 MB / 0.7703 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/1.216, allocations: 1.461 MB / 0.7717 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.216, allocations: 45.95 kB / 0.7717 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003288/1.22, allocations: 1.698 MB / 0.7734 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 4.889e-06/1.22, allocations: 0 / 0.7734 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249): time 0.04173/1.261, allocations: 13.16 MB / 0.7862 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.262, allocations: 180.2 kB / 0.7864 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/1.266, allocations: 1.733 MB / 0.7881 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007852/1.266, allocations: 25.7 kB / 0.7881 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/1.267, allocations: 0.7115 MB / 0.7888 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/1.268, allocations: 0.8313 MB / 0.7896 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.269, allocations: 0 / 0.7896 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.269, allocations: 395 kB / 0.79 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/1.271, allocations: 1.227 MB / 0.7912 GB, free: 144 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.273, allocations: 1.527 MB / 0.7927 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/1.276, allocations: 1.344 MB / 0.794 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.276, allocations: 4 kB / 0.794 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04045/1.316, allocations: 13.11 MB / 0.8068 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.316, allocations: 4 kB / 0.8068 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.316, allocations: 11.91 kB / 0.8068 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/1.334, allocations: 5.208 MB / 0.8119 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/1.337, allocations: 439.4 kB / 0.8123 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04017/1.377, allocations: 15.47 MB / 0.8274 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.382, allocations: 0.5212 MB / 0.828 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/1.382, allocations: 91.97 kB / 0.828 GB, free: 10.08 MB / 0.5573 GB 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.0006595/1.383, allocations: 225.7 kB / 0.8283 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/1.383, allocations: 292.3 kB / 0.8285 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04185/1.425, allocations: 13.43 MB / 0.8417 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/1.425, allocations: 24 kB / 0.8417 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/1.425, allocations: 20 kB / 0.8417 GB, free: 12 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/1.425, allocations: 19.94 kB / 0.8417 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2145/1.64, allocations: 16.74 MB / 0.8581 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.64, allocations: 2.812 kB / 0.8581 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.642, allocations: 244.5 kB / 0.8583 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01524/1.657, allocations: 5.199 MB / 0.8634 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/1.658, allocations: 21.61 kB / 0.8634 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03836/1.696, allocations: 17.46 MB / 0.8804 GB, free: 206.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.696, allocations: 10.23 kB / 0.8805 GB, free: 206.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04257/1.739, allocations: 15.46 MB / 0.8956 GB, free: 205.9 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04741/1.786, allocations: 17.94 MB / 0.9131 GB, free: 201.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.787, allocations: 408.9 kB / 0.9135 GB, free: 201.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.788, allocations: 11.8 kB / 0.9135 GB, free: 201.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/1.792, allocations: 405.5 kB / 0.9139 GB, free: 201.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.793, allocations: 336.6 kB / 0.9142 GB, free: 201.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003516/1.794, allocations: 63.94 kB / 0.9142 GB, free: 201 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002005/1.796, allocations: 1.302 MB / 0.9155 GB, free: 199.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003856/1.799, allocations: 1.005 MB / 0.9165 GB, free: 198.9 MB / 0.573 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.0004888/1.8, allocations: 150.5 kB / 0.9166 GB, free: 198.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.814, allocations: 5.512 MB / 0.922 GB, free: 193.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.814, allocations: 2.062 kB / 0.922 GB, free: 193.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/1.826, allocations: 4.237 MB / 0.9262 GB, free: 189.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.829, allocations: 186.7 kB / 0.9263 GB, free: 189.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.841, allocations: 4.196 MB / 0.9304 GB, free: 186 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.843, allocations: 2.002 MB / 0.9324 GB, free: 184.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.222e-06/1.843, allocations: 0 / 0.9324 GB, free: 184.4 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)