Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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-master/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-master/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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") [: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.00314/0.00314, allocations: 176.8 kB / 7.453 MB, free: 2.508 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.318/1.318, 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.0009376/0.0009375, allocations: 95.72 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-master/package.mo): time 0.06458/0.06458, allocations: 12.59 MB / 321.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2725/0.2725, allocations: 78.05 MB / 450.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.181e-06, allocations: 4 kB / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 69.32 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3052/0.4249, allocations: 103 MB / 0.6824 GB, free: 5.195 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4251, allocations: 77.27 kB / 0.6825 GB, free: 5.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2452/0.6703, allocations: 95.08 MB / 0.7753 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003738/0.6707, allocations: 91.94 kB / 0.7754 GB, free: 0.7031 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01946/0.6902, allocations: 5.989 MB / 0.7813 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6903, allocations: 11.97 kB / 0.7813 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01972/0.71, allocations: 2.927 MB / 0.7841 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00631/0.7163, allocations: 2.294 MB / 0.7864 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009851/0.7174, allocations: 0.8463 MB / 0.7872 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.7186, allocations: 204 kB / 0.7874 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007936/0.7266, allocations: 3.447 MB / 0.7908 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008331/0.7349, allocations: 3.598 MB / 0.7943 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.735, allocations: 4 kB / 0.7943 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.7355, allocations: 3.906 kB / 0.7943 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-05/0.7356, allocations: 84 kB / 0.7944 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/0.7733, allocations: 18.66 MB / 0.8126 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/0.7774, allocations: 2.263 MB / 0.8148 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/0.7809, allocations: 2.112 MB / 0.8169 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/0.7815, allocations: 78.89 kB / 0.8169 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.7815, allocations: 69.55 kB / 0.817 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=381): time 6.923e-06/0.7815, allocations: 7.938 kB / 0.817 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of matching and sorting (n=381): time 0.05918/0.8407, allocations: 18.26 MB / 0.8349 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.8409, allocations: 167.5 kB / 0.835 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/0.846, allocations: 2.468 MB / 0.8374 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008733/0.8469, allocations: 25.7 kB / 0.8374 GB, free: 15.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.8478, allocations: 1.182 MB / 0.8386 GB, free: 14.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/0.8509, allocations: 1.251 MB / 0.8398 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007042/0.8516, allocations: 0 / 0.8398 GB, free: 13.16 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003329/0.852, allocations: 441.6 kB / 0.8402 GB, free: 12.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.8557, allocations: 1.761 MB / 0.842 GB, free: 10.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00412/0.8599, allocations: 2.33 MB / 0.8442 GB, free: 8.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/0.8639, allocations: 1.967 MB / 0.8462 GB, free: 6.449 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/0.864, allocations: 4 kB / 0.8462 GB, free: 6.445 MB / 0.573 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.05889/0.9229, allocations: 18.36 MB / 0.8641 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.1656/1.089, allocations: 6.612 MB / 0.8705 GB, free: 193.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/1.089, allocations: 15.75 kB / 0.8706 GB, free: 193.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/1.112, allocations: 7.107 MB / 0.8775 GB, free: 193.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.115, allocations: 0.5609 MB / 0.8781 GB, free: 193.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05181/1.167, allocations: 21.97 MB / 0.8995 GB, free: 192.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/1.173, allocations: 0.6696 MB / 0.9002 GB, free: 192.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006427/1.173, allocations: 131.8 kB / 0.9003 GB, free: 192.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/1.173, allocations: 3.812 kB / 0.9003 GB, free: 192.3 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04943/1.223, allocations: 17.86 MB / 0.9177 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-05/1.223, allocations: 18.78 kB / 0.9177 GB, free: 192.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02275/1.246, allocations: 7.114 MB / 0.9247 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/1.249, allocations: 0.5544 MB / 0.9252 GB, free: 191.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05355/1.302, allocations: 21.97 MB / 0.9467 GB, free: 185.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/1.308, allocations: 0.6313 MB / 0.9473 GB, free: 185.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/1.309, allocations: 131.9 kB / 0.9474 GB, free: 185.2 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 324 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.31, allocations: 203.1 kB / 0.9476 GB, free: 185.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.311, allocations: 458.3 kB / 0.9481 GB, free: 184.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05174/1.363, allocations: 18.68 MB / 0.9663 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.363, allocations: 39.5 kB / 0.9663 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.744e-05/1.363, allocations: 35.03 kB / 0.9664 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.445e-05/1.363, allocations: 22.75 kB / 0.9664 GB, free: 170 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05838/1.421, allocations: 23.61 MB / 0.9895 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.421, allocations: 0 / 0.9895 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.424, allocations: 405.8 kB / 0.9898 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02256/1.447, allocations: 7.157 MB / 0.9968 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001163/1.448, allocations: 14.58 kB / 0.9968 GB, free: 146 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0475/1.495, allocations: 20.14 MB / 1.017 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.495, allocations: 0 / 1.017 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0556/1.551, allocations: 21.62 MB / 1.038 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.552, allocations: 0.5551 MB / 1.038 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.554, allocations: 7.469 kB / 1.038 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004636/1.558, allocations: 476.9 kB / 1.039 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001243/1.559, allocations: 451 kB / 1.039 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/1.56, allocations: 93.59 kB / 1.039 GB, free: 109 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.002374/1.562, allocations: 1.826 MB / 1.041 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00745/1.57, allocations: 2.584 MB / 1.043 GB, free: 104.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006347/1.57, allocations: 157.7 kB / 1.044 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03873/1.609, allocations: 13.9 MB / 1.057 GB, free: 92.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.609, allocations: 0 / 1.057 GB, free: 92.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/1.626, allocations: 5.768 MB / 1.063 GB, free: 87.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.63, allocations: 249.2 kB / 1.063 GB, free: 86.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/1.651, allocations: 6.335 MB / 1.069 GB, free: 81.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003562/1.655, allocations: 2.668 MB / 1.072 GB, free: 79.14 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/1.655, allocations: 6.516 kB / 1.072 GB, free: 79.14 MB / 0.5886 GB Notification: Performance of Templates: time 0.3051/1.96, allocations: 113.8 MB / 1.183 GB, free: 196.3 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)