Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001779/0.001779, allocations: 173.2 kB / 7.448 MB, free: 2.004 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.015/1.015, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.000827/0.0008271, allocations: 101.1 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.3488/0.3488, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-06/4.699e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 69.35 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09981/0.3177, allocations: 98.67 MB / 0.6371 GB, free: 6.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.318, allocations: 75.95 kB / 0.6372 GB, free: 6.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08108/0.399, allocations: 31.88 MB / 0.6683 GB, free: 6.098 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.3991, allocations: 24 kB / 0.6683 GB, free: 6.074 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004168/0.4033, allocations: 1.812 MB / 0.6701 GB, free: 4.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4033, allocations: 11.97 kB / 0.6701 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.4066, allocations: 0.5836 MB / 0.6707 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.4079, allocations: 0.8019 MB / 0.6715 GB, free: 2.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.4081, allocations: 236.2 kB / 0.6717 GB, free: 2.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4083, allocations: 55.91 kB / 0.6718 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/0.4097, allocations: 0.8123 MB / 0.6725 GB, free: 1.613 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4112, allocations: 0.8485 MB / 0.6734 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4112, allocations: 4 kB / 0.6734 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.4113, allocations: 0 / 0.6734 GB, free: 0.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.4113, allocations: 16 kB / 0.6734 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/0.5416, allocations: 3.846 MB / 0.6771 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.5427, allocations: 0.6264 MB / 0.6778 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.5433, allocations: 0.5307 MB / 0.6783 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.5434, allocations: 18.38 kB / 0.6783 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00081/0.5442, allocations: 0.6524 MB / 0.6789 GB, free: 140.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.525e-06/0.5442, allocations: 0 / 0.6789 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01127/0.5555, allocations: 4.212 MB / 0.683 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.5556, allocations: 114.2 kB / 0.6832 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.5565, allocations: 0.8573 MB / 0.684 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5567, allocations: 25.7 kB / 0.684 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.5568, allocations: 331.2 kB / 0.6843 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.5571, allocations: 338.5 kB / 0.6847 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.5571, allocations: 1.031 kB / 0.6847 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.5572, allocations: 349.8 kB / 0.685 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.5579, allocations: 464.6 kB / 0.6854 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.5586, allocations: 0.5837 MB / 0.686 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.5594, allocations: 0.501 MB / 0.6865 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5594, allocations: 0 / 0.6865 GB, free: 139.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01174/0.5711, allocations: 4.3 MB / 0.6907 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5712, allocations: 6.375 kB / 0.6907 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5712, allocations: 3.125 kB / 0.6907 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/0.5769, allocations: 1.662 MB / 0.6923 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.5778, allocations: 180 kB / 0.6925 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.5913, allocations: 7.323 MB / 0.6996 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.593, allocations: 194.5 kB / 0.6998 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.5931, allocations: 42.86 kB / 0.6999 GB, free: 136.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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 (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.5935, allocations: 156.5 kB / 0.7 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.5938, allocations: 126.7 kB / 0.7001 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.6057, allocations: 4.309 MB / 0.7044 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6058, allocations: 13.62 kB / 0.7044 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.6058, allocations: 7.188 kB / 0.7044 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.6058, allocations: 15 kB / 0.7044 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.619, allocations: 5.754 MB / 0.71 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.619, allocations: 3.906 kB / 0.71 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.6197, allocations: 105.7 kB / 0.7101 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004436/0.6241, allocations: 1.536 MB / 0.7116 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/0.6243, allocations: 5.875 kB / 0.7116 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.6358, allocations: 7.119 MB / 0.7186 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6358, allocations: 0 / 0.7186 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01214/0.648, allocations: 5.092 MB / 0.7235 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.6484, allocations: 231 kB / 0.7238 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.6486, allocations: 6.516 kB / 0.7238 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.6499, allocations: 138.2 kB / 0.7239 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.6502, allocations: 118.7 kB / 0.724 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.6503, allocations: 37.58 kB / 0.724 GB, free: 129.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007423/0.651, allocations: 0.6517 MB / 0.7247 GB, free: 129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001152/0.6522, allocations: 403.9 kB / 0.7251 GB, free: 129 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002421/0.6525, allocations: 137.2 kB / 0.7252 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004632/0.6571, allocations: 2.105 MB / 0.7273 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6571, allocations: 3.656 kB / 0.7273 GB, free: 128.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003489/0.6606, allocations: 1.518 MB / 0.7287 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.6612, allocations: 87.3 kB / 0.7288 GB, free: 127.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.6653, allocations: 1.909 MB / 0.7307 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009041/0.6662, allocations: 1.216 MB / 0.7319 GB, free: 125.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6662, allocations: 1.406 kB / 0.7319 GB, free: 125.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02547/0.6917, allocations: 20.2 MB / 0.7516 GB, free: 115.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)