Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001918/0.001918, allocations: 177.5 kB / 7.455 MB, free: 2.512 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.022/1.022, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0008804/0.0008804, allocations: 96.92 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3434/0.3434, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.971e-06, allocations: 4 kB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 69.34 MB / 0.5408 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09241/0.301, allocations: 99.49 MB / 0.6379 GB, free: 5.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.3013, allocations: 79.95 kB / 0.638 GB, free: 5.273 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3083/0.6096, allocations: 68.09 MB / 0.7045 GB, free: 97.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002178/0.6098, allocations: 54.84 kB / 0.7045 GB, free: 97.29 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01146/0.6213, allocations: 4.194 MB / 0.7086 GB, free: 94.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.6213, allocations: 8.312 kB / 0.7086 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009751/0.6311, allocations: 1.677 MB / 0.7103 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/0.6341, allocations: 1.65 MB / 0.7119 GB, free: 92.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.6346, allocations: 0.6735 MB / 0.7125 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.635, allocations: 131.1 kB / 0.7127 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003716/0.6387, allocations: 2.22 MB / 0.7148 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/0.6424, allocations: 2.277 MB / 0.7171 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.6424, allocations: 0 / 0.7171 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/0.6426, allocations: 4.969 kB / 0.7171 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.6427, allocations: 49.34 kB / 0.7171 GB, free: 89.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.6566, allocations: 9.815 MB / 0.7267 GB, free: 80.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.6594, allocations: 2.031 MB / 0.7287 GB, free: 78.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.6611, allocations: 1.45 MB / 0.7301 GB, free: 77.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.6613, allocations: 49.58 kB / 0.7301 GB, free: 77.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/0.6634, allocations: 1.682 MB / 0.7318 GB, free: 75.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 3.196e-06/0.6634, allocations: 0 / 0.7318 GB, free: 75.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03449/0.6979, allocations: 13.14 MB / 0.7446 GB, free: 62.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.6979, allocations: 180.2 kB / 0.7448 GB, free: 62.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.6996, allocations: 1.693 MB / 0.7464 GB, free: 60.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.6998, allocations: 29.7 kB / 0.7465 GB, free: 60.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.7, allocations: 0.7035 MB / 0.7472 GB, free: 59.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008079/0.7008, allocations: 0.8274 MB / 0.748 GB, free: 58.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.701, allocations: 0 / 0.748 GB, free: 58.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.7011, allocations: 406.8 kB / 0.7484 GB, free: 58.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7028, allocations: 1.22 MB / 0.7496 GB, free: 57.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.7047, allocations: 1.503 MB / 0.751 GB, free: 55.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.7065, allocations: 1.34 MB / 0.7523 GB, free: 54.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7065, allocations: 4 kB / 0.7523 GB, free: 54.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.0338/0.7403, allocations: 13.09 MB / 0.7651 GB, free: 41.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.7403, allocations: 6.188 kB / 0.7651 GB, free: 41.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7404, allocations: 12 kB / 0.7651 GB, free: 41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/0.7552, allocations: 5.191 MB / 0.7702 GB, free: 35.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.757, allocations: 419.4 kB / 0.7706 GB, free: 35.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/0.7897, allocations: 15.48 MB / 0.7857 GB, free: 19.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.793, allocations: 0.5212 MB / 0.7862 GB, free: 19.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.7932, allocations: 87.98 kB / 0.7863 GB, free: 19.17 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004772/0.7937, allocations: 213.5 kB / 0.7865 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.7941, allocations: 292.3 kB / 0.7868 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/0.8284, allocations: 13.41 MB / 0.7999 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8285, allocations: 24 kB / 0.7999 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.8285, allocations: 20 kB / 0.7999 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.8285, allocations: 11.95 kB / 0.7999 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04022/0.8687, allocations: 16.68 MB / 0.8162 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8688, allocations: 0 / 0.8162 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8701, allocations: 243.7 kB / 0.8165 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/0.885, allocations: 5.204 MB / 0.8215 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.8852, allocations: 15.98 kB / 0.8216 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/0.9206, allocations: 17.45 MB / 0.8386 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.9206, allocations: 0 / 0.8386 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04021/0.9608, allocations: 15.43 MB / 0.8537 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/0.9614, allocations: 408.8 kB / 0.8541 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/0.9619, allocations: 4 kB / 0.8541 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/0.9649, allocations: 407.6 kB / 0.8544 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008642/0.9658, allocations: 345.3 kB / 0.8548 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/0.966, allocations: 67.98 kB / 0.8548 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001528/0.9676, allocations: 1.26 MB / 0.8561 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002203/0.9698, allocations: 0.9985 MB / 0.857 GB, free: 10.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003752/0.9702, allocations: 147.3 kB / 0.8572 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01308/0.9833, allocations: 5.482 MB / 0.8625 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9833, allocations: 0 / 0.8625 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01078/0.994, allocations: 4.229 MB / 0.8667 GB, free: 260 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.9951, allocations: 185.8 kB / 0.8668 GB, free: 72 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00866/1.004, allocations: 4.074 MB / 0.8708 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.005, allocations: 1.938 MB / 0.8727 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/1.005, allocations: 0 / 0.8727 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of Templates: time 0.1863/1.192, allocations: 50.7 MB / 0.9222 GB, free: 196.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)