Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.003703/0.003703, allocations: 177.8 kB / 7.462 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.237/1.237, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001132/0.001132, allocations: 97.81 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4188/0.4188, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.456e-06, allocations: 0 / 485.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 69.51 MB / 0.5419 GB, free: 20.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4071, allocations: 98.75 MB / 0.6383 GB, free: 5.117 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4074, allocations: 83.94 kB / 0.6384 GB, free: 5.035 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1052/0.5127, allocations: 36.24 MB / 0.6738 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.5128, allocations: 27.94 kB / 0.6738 GB, free: 0.5 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.1626/0.6754, allocations: 1.748 MB / 0.6755 GB, free: 141.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6755, allocations: 6.906 kB / 0.6755 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.6793, allocations: 0.5795 MB / 0.6761 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6808, allocations: 0.782 MB / 0.6768 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.681, allocations: 237.3 kB / 0.6771 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.6812, allocations: 46.12 kB / 0.6771 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/0.6826, allocations: 0.8066 MB / 0.6779 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.6838, allocations: 0.8334 MB / 0.6787 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6839, allocations: 2.875 kB / 0.6787 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/0.6839, allocations: 0 / 0.6787 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.684, allocations: 15.69 kB / 0.6787 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/0.6903, allocations: 3.778 MB / 0.6824 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.6913, allocations: 0.604 MB / 0.683 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.692, allocations: 0.508 MB / 0.6835 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.6921, allocations: 18.97 kB / 0.6835 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008836/0.693, allocations: 0.6315 MB / 0.6841 GB, free: 139.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.693, allocations: 3.844 kB / 0.6841 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01235/0.7054, allocations: 4.179 MB / 0.6882 GB, free: 139.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.7055, allocations: 114.2 kB / 0.6883 GB, free: 139.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.7067, allocations: 0.8123 MB / 0.6891 GB, free: 139 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.7069, allocations: 29.59 kB / 0.6892 GB, free: 139 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.707, allocations: 319 kB / 0.6895 GB, free: 138.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.7074, allocations: 333.1 kB / 0.6898 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.7074, allocations: 0 / 0.6898 GB, free: 138.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.7075, allocations: 345.5 kB / 0.6901 GB, free: 138.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.7082, allocations: 448.2 kB / 0.6905 GB, free: 138.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/0.709, allocations: 0.553 MB / 0.6911 GB, free: 138.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.7097, allocations: 496.6 kB / 0.6915 GB, free: 138.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7097, allocations: 0 / 0.6915 GB, free: 138.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01201/0.7217, allocations: 4.193 MB / 0.6956 GB, free: 137.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7218, allocations: 11.44 kB / 0.6957 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.7218, allocations: 3.188 kB / 0.6957 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005728/0.7275, allocations: 1.564 MB / 0.6972 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.7286, allocations: 186.4 kB / 0.6974 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.7421, allocations: 6.013 MB / 0.7032 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.7438, allocations: 191.4 kB / 0.7034 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.744, allocations: 43.5 kB / 0.7035 GB, free: 136.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (96): * Single equations (assignments): 93 * 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.0002948/0.7443, allocations: 158.8 kB / 0.7036 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.7445, allocations: 126.1 kB / 0.7037 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.7573, allocations: 4.264 MB / 0.7079 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.7573, allocations: 9.875 kB / 0.7079 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.7573, allocations: 7.312 kB / 0.7079 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.7574, allocations: 7.172 kB / 0.7079 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.7713, allocations: 5.673 MB / 0.7135 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.7714, allocations: 0 / 0.7135 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.7721, allocations: 100.5 kB / 0.7136 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005016/0.7771, allocations: 1.556 MB / 0.7151 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.7773, allocations: 5.344 kB / 0.7151 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.7907, allocations: 7.09 MB / 0.722 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7907, allocations: 0 / 0.722 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01427/0.805, allocations: 5.016 MB / 0.7269 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.8056, allocations: 230.3 kB / 0.7271 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8058, allocations: 2.531 kB / 0.7271 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.8071, allocations: 141.1 kB / 0.7273 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.8075, allocations: 111.9 kB / 0.7274 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/0.8076, allocations: 30.06 kB / 0.7274 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008314/0.8084, allocations: 0.612 MB / 0.728 GB, free: 128.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001368/0.8098, allocations: 392.5 kB / 0.7284 GB, free: 128.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(21,21.8%) 11} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002972/0.8101, allocations: 140.3 kB / 0.7285 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005084/0.8152, allocations: 1.939 MB / 0.7304 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8152, allocations: 0 / 0.7304 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.8194, allocations: 1.513 MB / 0.7319 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.8202, allocations: 87.64 kB / 0.732 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.8243, allocations: 1.724 MB / 0.7336 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.8251, allocations: 1.189 MB / 0.7348 GB, free: 124.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/0.8251, allocations: 0 / 0.7348 GB, free: 124.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02656/0.8516, allocations: 19.28 MB / 0.7536 GB, free: 113 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)