Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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 3.2.3+maint.om/package.mo): time 0.002811/0.002811, allocations: 180.8 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00079/0.0007901, allocations: 91.72 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06535/0.06535, allocations: 12.59 MB / 321.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3226/0.3226, allocations: 78.05 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.542e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 69.32 MB / 0.5818 GB, free: 8.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.4127, allocations: 98.98 MB / 0.6785 GB, free: 9.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.413, allocations: 78.77 kB / 0.6786 GB, free: 9.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.07522/0.4882, allocations: 28.5 MB / 0.7064 GB, free: 2.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001057/0.4884, allocations: 24 kB / 0.7064 GB, free: 2.02 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004755/0.4931, allocations: 1.739 MB / 0.7081 GB, free: 344 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4932, allocations: 15.97 kB / 0.7081 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.4969, allocations: 0.5761 MB / 0.7087 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.4984, allocations: 0.7759 MB / 0.7094 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.4986, allocations: 214.1 kB / 0.7096 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.4989, allocations: 47.91 kB / 0.7097 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00151/0.5004, allocations: 0.7971 MB / 0.7105 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5019, allocations: 0.8278 MB / 0.7113 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.502, allocations: 0 / 0.7113 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/0.502, allocations: 4 kB / 0.7113 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.5021, allocations: 16 kB / 0.7113 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007167/0.5092, allocations: 3.793 MB / 0.715 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.5104, allocations: 0.5893 MB / 0.7156 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/0.5111, allocations: 0.5088 MB / 0.7161 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.5112, allocations: 20.75 kB / 0.7161 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5113, allocations: 46.34 kB / 0.7161 GB, free: 9.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.5113, allocations: 0 / 0.7161 GB, free: 9.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01273/0.524, allocations: 4.041 MB / 0.7201 GB, free: 6.441 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.5242, allocations: 141.3 kB / 0.7202 GB, free: 6.273 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.5256, allocations: 0.8139 MB / 0.721 GB, free: 5.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.5258, allocations: 25.7 kB / 0.721 GB, free: 5.641 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.526, allocations: 325.1 kB / 0.7213 GB, free: 5.371 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/0.5265, allocations: 315.3 kB / 0.7216 GB, free: 5.094 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.5266, allocations: 0 / 0.7216 GB, free: 5.094 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5268, allocations: 345 kB / 0.722 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.5275, allocations: 427.8 kB / 0.7224 GB, free: 4.539 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.5284, allocations: 0.5463 MB / 0.7229 GB, free: 4.164 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/0.5292, allocations: 482.1 kB / 0.7234 GB, free: 3.895 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5292, allocations: 0 / 0.7234 GB, free: 3.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01288/0.5421, allocations: 4.187 MB / 0.7275 GB, free: 236 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004135/0.5426, allocations: 1.139 MB / 0.7286 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5426, allocations: 4 kB / 0.7286 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005348/0.5479, allocations: 1.521 MB / 0.7301 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.5489, allocations: 167.2 kB / 0.7302 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.5623, allocations: 5.808 MB / 0.7359 GB, free: 9.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.5638, allocations: 179.1 kB / 0.7361 GB, free: 8.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.564, allocations: 35.98 kB / 0.7361 GB, free: 8.875 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.564, allocations: 4 kB / 0.7361 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/0.5767, allocations: 4.015 MB / 0.74 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.5767, allocations: 7.906 kB / 0.74 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.5821, allocations: 1.528 MB / 0.7415 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/0.5831, allocations: 151.8 kB / 0.7417 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.5967, allocations: 5.807 MB / 0.7473 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5983, allocations: 163.3 kB / 0.7475 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.5985, allocations: 39.89 kB / 0.7475 GB, free: 13.03 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.5989, allocations: 154.9 kB / 0.7477 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/0.5993, allocations: 122.5 kB / 0.7478 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.6119, allocations: 4.134 MB / 0.7518 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6119, allocations: 8 kB / 0.7518 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.6119, allocations: 8 kB / 0.7519 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6119, allocations: 7.969 kB / 0.7519 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.627, allocations: 5.61 MB / 0.7573 GB, free: 2.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.627, allocations: 7.938 kB / 0.7573 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.6278, allocations: 107.9 kB / 0.7575 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004924/0.6327, allocations: 1.469 MB / 0.7589 GB, free: 1.281 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.6329, allocations: 11.98 kB / 0.7589 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.6448, allocations: 5.21 MB / 0.764 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6449, allocations: 0 / 0.764 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0138/0.6587, allocations: 4.859 MB / 0.7687 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.6592, allocations: 215.4 kB / 0.7689 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.6596, allocations: 8 kB / 0.7689 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.6611, allocations: 135.9 kB / 0.7691 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.6614, allocations: 104.6 kB / 0.7692 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.6615, allocations: 20 kB / 0.7692 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001043/0.6625, allocations: 0.626 MB / 0.7698 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002002/0.6645, allocations: 0.5928 MB / 0.7704 GB, free: 5.336 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003076/0.6649, allocations: 146.9 kB / 0.7705 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009078/0.6739, allocations: 3.394 MB / 0.7738 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.674, allocations: 0 / 0.7738 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.6778, allocations: 1.376 MB / 0.7752 GB, free: 356 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.6787, allocations: 92.33 kB / 0.7753 GB, free: 264 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.6835, allocations: 1.728 MB / 0.777 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/0.6844, allocations: 1.19 MB / 0.7781 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.6844, allocations: 4 kB / 0.7781 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.04635/0.7308, allocations: 28.61 MB / 0.8061 GB, free: 0.6289 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)