Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [: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.001695/0.001695, allocations: 174.4 kB / 7.459 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.037/1.037, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0008729/0.0008729, allocations: 93.95 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3528/0.3528, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-06/4.628e-06, allocations: 0 / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 69.34 MB / 0.5407 GB, free: 21.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09529/0.3205, allocations: 97.77 MB / 0.6362 GB, free: 7.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.3207, allocations: 79.94 kB / 0.6363 GB, free: 7.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07737/0.3981, allocations: 30.55 MB / 0.6661 GB, free: 8.316 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.647e-05/0.3982, allocations: 31.94 kB / 0.6662 GB, free: 8.285 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004101/0.4024, allocations: 1.734 MB / 0.6679 GB, free: 6.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.4024, allocations: 12.02 kB / 0.6679 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/0.4057, allocations: 0.5797 MB / 0.6684 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.407, allocations: 0.7702 MB / 0.6692 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.4072, allocations: 240.2 kB / 0.6694 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4074, allocations: 44 kB / 0.6695 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001382/0.4088, allocations: 0.8006 MB / 0.6702 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.4101, allocations: 0.8251 MB / 0.6711 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4102, allocations: 0 / 0.6711 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.4103, allocations: 0 / 0.6711 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4103, allocations: 23.91 kB / 0.6711 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1282/0.5385, allocations: 3.734 MB / 0.6747 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.5395, allocations: 0.6065 MB / 0.6753 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.5401, allocations: 0.5072 MB / 0.6758 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.632e-05/0.5402, allocations: 18.33 kB / 0.6758 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/0.541, allocations: 0.6334 MB / 0.6764 GB, free: 141.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.655e-06/0.541, allocations: 0 / 0.6764 GB, free: 141.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01111/0.5521, allocations: 4.168 MB / 0.6805 GB, free: 141.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5522, allocations: 122.5 kB / 0.6806 GB, free: 141.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008379/0.553, allocations: 0.817 MB / 0.6814 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/0.5531, allocations: 26.36 kB / 0.6815 GB, free: 141.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.5532, allocations: 327.1 kB / 0.6818 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.5535, allocations: 322.1 kB / 0.6821 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.5536, allocations: 0.5 kB / 0.6821 GB, free: 140.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.5536, allocations: 349.6 kB / 0.6824 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.5543, allocations: 438.4 kB / 0.6828 GB, free: 140.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.5549, allocations: 0.5556 MB / 0.6834 GB, free: 140.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.5556, allocations: 490.8 kB / 0.6838 GB, free: 140.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5556, allocations: 7.031 kB / 0.6838 GB, free: 140.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01099/0.5666, allocations: 4.193 MB / 0.6879 GB, free: 140.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5666, allocations: 5.656 kB / 0.6879 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5667, allocations: 3.625 kB / 0.6879 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.5717, allocations: 1.577 MB / 0.6895 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.5726, allocations: 185.6 kB / 0.6897 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.5841, allocations: 6.043 MB / 0.6956 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5855, allocations: 195.1 kB / 0.6958 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.5856, allocations: 36.42 kB / 0.6958 GB, free: 138.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.5859, allocations: 150.7 kB / 0.6959 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5861, allocations: 124.8 kB / 0.696 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.5979, allocations: 4.275 MB / 0.7002 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5979, allocations: 9.969 kB / 0.7002 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5979, allocations: 7.75 kB / 0.7002 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.598, allocations: 9.797 kB / 0.7003 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.6109, allocations: 5.65 MB / 0.7058 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6109, allocations: 1.031 kB / 0.7058 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.6115, allocations: 100 kB / 0.7059 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/0.616, allocations: 1.552 MB / 0.7074 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.626e-05/0.6161, allocations: 6.672 kB / 0.7074 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.6274, allocations: 7.113 MB / 0.7143 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6274, allocations: 2.344 kB / 0.7143 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0119/0.6393, allocations: 5.013 MB / 0.7192 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.6396, allocations: 223.5 kB / 0.7194 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.6398, allocations: 7.547 kB / 0.7195 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.641, allocations: 137 kB / 0.7196 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.6412, allocations: 113.4 kB / 0.7197 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.6413, allocations: 28.33 kB / 0.7197 GB, free: 132.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006642/0.642, allocations: 0.624 MB / 0.7203 GB, free: 132 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001016/0.643, allocations: 397.5 kB / 0.7207 GB, free: 132 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.6432, allocations: 142.5 kB / 0.7208 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.6472, allocations: 1.924 MB / 0.7227 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6472, allocations: 0 / 0.7227 GB, free: 131.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.6505, allocations: 1.51 MB / 0.7242 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.651, allocations: 85.48 kB / 0.7243 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.6541, allocations: 1.649 MB / 0.7259 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/0.6548, allocations: 1.187 MB / 0.727 GB, free: 129.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6548, allocations: 0 / 0.727 GB, free: 129.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0233/0.6781, allocations: 19.3 MB / 0.7459 GB, free: 121.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)