Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") [: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.002348/0.002348, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.023/1.023, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.000855/0.0008549, allocations: 103.8 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3504/0.3504, allocations: 78.09 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.859e-06, allocations: 0 / 484.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.224, allocations: 69.34 MB / 0.5407 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09812/0.3221, allocations: 97.13 MB / 0.6356 GB, free: 7.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3225, allocations: 75.95 kB / 0.6357 GB, free: 7.656 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2974/0.6199, allocations: 59.7 MB / 0.694 GB, free: 97.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.756e-05/0.62, allocations: 45.94 kB / 0.694 GB, free: 97.18 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.00911/0.6291, allocations: 3.891 MB / 0.6978 GB, free: 95.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.6291, allocations: 15.34 kB / 0.6978 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008757/0.6379, allocations: 1.637 MB / 0.6994 GB, free: 95.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.6398, allocations: 1.465 MB / 0.7009 GB, free: 95.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.6402, allocations: 0.6175 MB / 0.7015 GB, free: 94.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.6405, allocations: 116.1 kB / 0.7016 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003123/0.6436, allocations: 2.081 MB / 0.7036 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.6475, allocations: 2.138 MB / 0.7057 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.6475, allocations: 0 / 0.7057 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.6477, allocations: 1.375 kB / 0.7057 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.6478, allocations: 50.12 kB / 0.7057 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01574/0.6635, allocations: 9.48 MB / 0.715 GB, free: 88.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.6668, allocations: 1.928 MB / 0.7169 GB, free: 88.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.6685, allocations: 1.359 MB / 0.7182 GB, free: 87.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.6688, allocations: 40.53 kB / 0.7182 GB, free: 87.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.6688, allocations: 61.72 kB / 0.7183 GB, free: 87.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.389e-06/0.6688, allocations: 0 / 0.7183 GB, free: 87.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03406/0.7029, allocations: 12.72 MB / 0.7307 GB, free: 75.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.703, allocations: 128.8 kB / 0.7308 GB, free: 75.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.7049, allocations: 1.483 MB / 0.7323 GB, free: 74.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000501/0.7054, allocations: 25.7 kB / 0.7323 GB, free: 74.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.7057, allocations: 0.6594 MB / 0.733 GB, free: 73.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009395/0.7066, allocations: 0.7581 MB / 0.7337 GB, free: 72.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.7068, allocations: 0 / 0.7337 GB, free: 72.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.7069, allocations: 382.2 kB / 0.7341 GB, free: 72.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.7085, allocations: 1.117 MB / 0.7352 GB, free: 71.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.7102, allocations: 1.404 MB / 0.7365 GB, free: 69.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.7119, allocations: 1.224 MB / 0.7377 GB, free: 68.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7119, allocations: 0 / 0.7377 GB, free: 68.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03442/0.7463, allocations: 12.82 MB / 0.7502 GB, free: 55.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.7467, allocations: 2.73 MB / 0.7529 GB, free: 52.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.7468, allocations: 4 kB / 0.7529 GB, free: 52.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/0.7621, allocations: 5.179 MB / 0.758 GB, free: 47.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.7637, allocations: 323.5 kB / 0.7583 GB, free: 47.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03304/0.7968, allocations: 15.55 MB / 0.7735 GB, free: 31.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.8001, allocations: 481.9 kB / 0.7739 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.8003, allocations: 75.98 kB / 0.774 GB, free: 31.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.635e-06/0.8003, allocations: 6.188 kB / 0.774 GB, free: 31.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03376/0.8341, allocations: 12.51 MB / 0.7862 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.8342, allocations: 4 kB / 0.7862 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.8492, allocations: 5.178 MB / 0.7913 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.8508, allocations: 311.5 kB / 0.7916 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03401/0.8848, allocations: 15.57 MB / 0.8068 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/0.8882, allocations: 458.1 kB / 0.8072 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.8885, allocations: 75.98 kB / 0.8073 GB, free: 13.02 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005503/0.889, allocations: 145.8 kB / 0.8074 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005898/0.8896, allocations: 268.6 kB / 0.8077 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03651/0.9261, allocations: 12.96 MB / 0.8203 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/0.9262, allocations: 20 kB / 0.8204 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.9263, allocations: 23.91 kB / 0.8204 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.104e-05/0.9263, allocations: 11.97 kB / 0.8204 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/0.9675, allocations: 16.11 MB / 0.8361 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.9676, allocations: 4 kB / 0.8361 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.9691, allocations: 247.6 kB / 0.8364 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.9838, allocations: 5.019 MB / 0.8413 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/0.9841, allocations: 12 kB / 0.8413 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03154/1.016, allocations: 13.69 MB / 0.8546 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.016, allocations: 4 kB / 0.8546 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04043/1.056, allocations: 14.89 MB / 0.8692 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/1.057, allocations: 373.2 kB / 0.8695 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008871/1.058, allocations: 7.922 kB / 0.8696 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.061, allocations: 367.6 kB / 0.8699 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009783/1.062, allocations: 313.4 kB / 0.8702 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003169/1.062, allocations: 52 kB / 0.8703 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001718/1.064, allocations: 1.118 MB / 0.8713 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004304/1.068, allocations: 1.528 MB / 0.8728 GB, free: 9.652 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003853/1.069, allocations: 148.2 kB / 0.873 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02449/1.093, allocations: 9.094 MB / 0.8819 GB, free: 392 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.093, allocations: 0 / 0.8819 GB, free: 392 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01141/1.105, allocations: 3.818 MB / 0.8856 GB, free: 12.56 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.107, allocations: 156.1 kB / 0.8857 GB, free: 12.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.118, allocations: 4.009 MB / 0.8897 GB, free: 8.336 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001801/1.12, allocations: 1.819 MB / 0.8914 GB, free: 6.484 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.12, allocations: 4 kB / 0.8914 GB, free: 6.48 MB / 0.573 GB Notification: Performance of Templates: time 0.2182/1.338, allocations: 73.35 MB / 0.9631 GB, free: 203.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)