Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001823/0.001823, allocations: 175 kB / 7.459 MB, free: 2.312 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.012/1.012, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0007923/0.0007923, allocations: 91.22 kB / 280.1 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3529/0.3529, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.33e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 69.34 MB / 0.5408 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09766/0.3175, allocations: 101.8 MB / 0.6402 GB, free: 3.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.3177, allocations: 75.95 kB / 0.6402 GB, free: 3.066 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3807/0.6984, allocations: 99.46 MB / 0.7374 GB, free: 70.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001636/0.6986, allocations: 84 kB / 0.7374 GB, free: 70.67 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01384/0.7125, allocations: 6.016 MB / 0.7433 GB, free: 64.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.7125, allocations: 8.031 kB / 0.7433 GB, free: 64.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.7281, allocations: 2.92 MB / 0.7462 GB, free: 61.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.7311, allocations: 2.265 MB / 0.7484 GB, free: 59.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/0.7317, allocations: 0.8753 MB / 0.7492 GB, free: 58.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/0.7322, allocations: 211.9 kB / 0.7495 GB, free: 58.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005134/0.7374, allocations: 3.439 MB / 0.7528 GB, free: 54.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.7426, allocations: 3.602 MB / 0.7563 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.7427, allocations: 0 / 0.7563 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.743, allocations: 0 / 0.7563 GB, free: 51.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.7431, allocations: 87.94 kB / 0.7564 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.7677, allocations: 18.59 MB / 0.7746 GB, free: 31.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.7706, allocations: 2.27 MB / 0.7768 GB, free: 29.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.7731, allocations: 2.124 MB / 0.7789 GB, free: 26.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003559/0.7735, allocations: 70.92 kB / 0.7789 GB, free: 26.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003151/0.7766, allocations: 2.477 MB / 0.7813 GB, free: 24.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 4.439e-06/0.7766, allocations: 0 / 0.7813 GB, free: 24.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.04847/0.8251, allocations: 18.4 MB / 0.7993 GB, free: 5.836 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.8252, allocations: 141.8 kB / 0.7994 GB, free: 5.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/0.8283, allocations: 2.468 MB / 0.8019 GB, free: 3.191 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005594/0.8289, allocations: 25.7 kB / 0.8019 GB, free: 3.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.8293, allocations: 1.186 MB / 0.803 GB, free: 1.957 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/0.831, allocations: 1.251 MB / 0.8043 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.8313, allocations: 0 / 0.8043 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8314, allocations: 445.7 kB / 0.8047 GB, free: 252 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/0.8343, allocations: 1.785 MB / 0.8064 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.8375, allocations: 2.334 MB / 0.8087 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.8405, allocations: 1.984 MB / 0.8106 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8406, allocations: 4 kB / 0.8107 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05153/0.8921, allocations: 18.43 MB / 0.8287 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8921, allocations: 4 kB / 0.8287 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.8922, allocations: 19.91 kB / 0.8287 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02367/0.9159, allocations: 7.192 MB / 0.8357 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/0.9192, allocations: 0.5733 MB / 0.8363 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05427/0.9735, allocations: 22.25 MB / 0.858 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/0.9791, allocations: 0.6762 MB / 0.8586 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000798/0.9799, allocations: 132 kB / 0.8588 GB, free: 8.445 MB / 0.5417 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.9809, allocations: 195.1 kB / 0.859 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/0.9821, allocations: 462.2 kB / 0.8594 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05245/1.035, allocations: 18.83 MB / 0.8778 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.035, allocations: 36 kB / 0.8778 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/1.035, allocations: 35.91 kB / 0.8779 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.617e-05/1.035, allocations: 19.92 kB / 0.8779 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2004/1.235, allocations: 23.41 MB / 0.9007 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.235, allocations: 0 / 0.9007 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.237, allocations: 394.5 kB / 0.9011 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02104/1.258, allocations: 7.258 MB / 0.9082 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004829/1.259, allocations: 20.88 kB / 0.9082 GB, free: 164.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04831/1.307, allocations: 21.96 MB / 0.9297 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.307, allocations: 3.781 kB / 0.9297 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05526/1.363, allocations: 21.77 MB / 0.9509 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.364, allocations: 0.5629 MB / 0.9515 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000899/1.365, allocations: 7.969 kB / 0.9515 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004135/1.369, allocations: 482.4 kB / 0.952 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/1.37, allocations: 458.9 kB / 0.9524 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003255/1.37, allocations: 96.38 kB / 0.9525 GB, free: 158.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002104/1.373, allocations: 1.829 MB / 0.9543 GB, free: 158 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003517/1.376, allocations: 1.566 MB / 0.9558 GB, free: 157.9 MB / 0.5573 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,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 (248): * Single equations (assignments): 245 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000471/1.377, allocations: 161.7 kB / 0.956 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01903/1.396, allocations: 7.919 MB / 0.9637 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.396, allocations: 384 / 0.9637 GB, free: 154.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/1.411, allocations: 5.934 MB / 0.9695 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.413, allocations: 250 kB / 0.9697 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.427, allocations: 6.017 MB / 0.9756 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/1.429, allocations: 2.656 MB / 0.9782 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/1.429, allocations: 0 / 0.9782 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.08615/1.515, allocations: 73.63 MB / 1.05 GB, free: 89.38 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)