Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") [: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.002479/0.00248, allocations: 173.7 kB / 7.458 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.017/1.017, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.000822/0.0008217, allocations: 99.5 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3468/0.3468, allocations: 78.09 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.649e-06/4.759e-06, allocations: 0 / 484.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 69.35 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09483/0.3107, allocations: 101 MB / 0.6394 GB, free: 3.961 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.3109, allocations: 83.94 kB / 0.6394 GB, free: 3.879 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3821/0.6929, allocations: 97.26 MB / 0.7344 GB, free: 73.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002478/0.6932, allocations: 88 kB / 0.7345 GB, free: 73.58 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.0152/0.7084, allocations: 5.953 MB / 0.7403 GB, free: 67.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.402e-05/0.7085, allocations: 12.03 kB / 0.7403 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.7251, allocations: 2.923 MB / 0.7432 GB, free: 64.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/0.7301, allocations: 2.286 MB / 0.7454 GB, free: 62.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007073/0.7308, allocations: 0.8501 MB / 0.7462 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.7319, allocations: 203.9 kB / 0.7464 GB, free: 61.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006675/0.7386, allocations: 3.435 MB / 0.7498 GB, free: 57.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005683/0.7443, allocations: 3.594 MB / 0.7533 GB, free: 53.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-05/0.7444, allocations: 4 kB / 0.7533 GB, free: 53.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.7447, allocations: 0 / 0.7533 GB, free: 53.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.7448, allocations: 84 kB / 0.7534 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02551/0.7703, allocations: 18.56 MB / 0.7715 GB, free: 34.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.7731, allocations: 2.255 MB / 0.7737 GB, free: 32.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.7756, allocations: 2.104 MB / 0.7758 GB, free: 29.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.776, allocations: 78.89 kB / 0.7758 GB, free: 29.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7761, allocations: 73.55 kB / 0.7759 GB, free: 29.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 5.03e-06/0.7761, allocations: 0 / 0.7759 GB, free: 29.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.04683/0.8229, allocations: 18.24 MB / 0.7937 GB, free: 11.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.823, allocations: 175.5 kB / 0.7939 GB, free: 11.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.8257, allocations: 2.424 MB / 0.7963 GB, free: 8.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/0.8261, allocations: 25.7 kB / 0.7963 GB, free: 8.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/0.8265, allocations: 1.178 MB / 0.7974 GB, free: 7.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.8282, allocations: 1.247 MB / 0.7987 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.8284, allocations: 0 / 0.7987 GB, free: 6.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8285, allocations: 441.6 kB / 0.7991 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/0.8311, allocations: 1.753 MB / 0.8008 GB, free: 4.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.8338, allocations: 2.314 MB / 0.803 GB, free: 1.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.8365, allocations: 1.959 MB / 0.805 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.8366, allocations: 4 kB / 0.805 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.05178/0.8883, allocations: 18.33 MB / 0.8229 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001888/0.8903, allocations: 6.608 MB / 0.8293 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.8903, allocations: 12 kB / 0.8293 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/0.9138, allocations: 7.141 MB / 0.8363 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.9167, allocations: 0.5344 MB / 0.8368 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05365/0.9703, allocations: 22.07 MB / 0.8584 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/0.9758, allocations: 0.6607 MB / 0.859 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/0.9762, allocations: 140 kB / 0.8592 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.9762, allocations: 0 / 0.8592 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04983/1.026, allocations: 17.85 MB / 0.8766 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.558e-05/1.026, allocations: 16 kB / 0.8766 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02319/1.049, allocations: 7.125 MB / 0.8836 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.052, allocations: 0.5383 MB / 0.8841 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1951/1.247, allocations: 22.06 MB / 0.9056 GB, free: 175.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/1.252, allocations: 0.6324 MB / 0.9062 GB, free: 175.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/1.253, allocations: 131.5 kB / 0.9064 GB, free: 175.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 320 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007932/1.254, allocations: 205.2 kB / 0.9066 GB, free: 175.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/1.254, allocations: 451.5 kB / 0.907 GB, free: 175.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04747/1.302, allocations: 18.66 MB / 0.9252 GB, free: 175 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/1.302, allocations: 36.41 kB / 0.9253 GB, free: 175 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/1.302, allocations: 27.66 kB / 0.9253 GB, free: 175 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/1.302, allocations: 29.25 kB / 0.9253 GB, free: 175 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05459/1.356, allocations: 23.54 MB / 0.9483 GB, free: 174.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.357, allocations: 1.125 kB / 0.9483 GB, free: 174.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.359, allocations: 406 kB / 0.9487 GB, free: 174.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02228/1.381, allocations: 7.171 MB / 0.9557 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008457/1.382, allocations: 18.44 kB / 0.9557 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04501/1.427, allocations: 20.09 MB / 0.9753 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.427, allocations: 0 / 0.9753 GB, free: 168.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05402/1.481, allocations: 21.59 MB / 0.9964 GB, free: 154.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.483, allocations: 0.5505 MB / 0.9969 GB, free: 154.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009229/1.484, allocations: 4 kB / 0.997 GB, free: 154.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003936/1.488, allocations: 479.3 kB / 0.9974 GB, free: 154 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.489, allocations: 449 kB / 0.9978 GB, free: 153.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003155/1.489, allocations: 95.89 kB / 0.9979 GB, free: 153.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002016/1.491, allocations: 1.793 MB / 0.9997 GB, free: 152 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005178/1.496, allocations: 2.576 MB / 1.002 GB, free: 149.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/1.497, allocations: 164 kB / 1.002 GB, free: 149.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03258/1.529, allocations: 13.87 MB / 1.016 GB, free: 137 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.529, allocations: 0 / 1.016 GB, free: 137 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/1.544, allocations: 5.803 MB / 1.022 GB, free: 131.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.546, allocations: 243.7 kB / 1.022 GB, free: 131.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.56, allocations: 6.227 MB / 1.028 GB, free: 126 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/1.562, allocations: 2.652 MB / 1.03 GB, free: 123.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/1.562, allocations: 4 kB / 1.03 GB, free: 123.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1307/1.693, allocations: 113 MB / 1.141 GB, free: 26.09 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)