Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.003287/0.003287, 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 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001002/0.001002, allocations: 104.9 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.403/0.403, allocations: 78.06 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.173e-06, allocations: 4 kB / 484.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2453, allocations: 69.35 MB / 0.5407 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3553, allocations: 101.4 MB / 0.6397 GB, free: 3.422 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3556, allocations: 79.95 kB / 0.6398 GB, free: 3.344 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.5317/0.8874, allocations: 98.15 MB / 0.7357 GB, free: 72.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003189/0.8877, allocations: 92 kB / 0.7357 GB, free: 72.15 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01788/0.9056, allocations: 5.992 MB / 0.7416 GB, free: 66.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.9057, allocations: 12.03 kB / 0.7416 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.925, allocations: 2.92 MB / 0.7445 GB, free: 63.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/0.9304, allocations: 2.294 MB / 0.7467 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008062/0.9312, allocations: 0.8579 MB / 0.7475 GB, free: 59.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.9325, allocations: 200 kB / 0.7477 GB, free: 59.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00704/0.9395, allocations: 3.451 MB / 0.7511 GB, free: 56.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006677/0.9462, allocations: 3.602 MB / 0.7546 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-05/0.9463, allocations: 0 / 0.7546 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/0.9467, allocations: 0 / 0.7546 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.9468, allocations: 84 kB / 0.7547 GB, free: 52.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03298/0.9798, allocations: 18.66 MB / 0.7729 GB, free: 32.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.9834, allocations: 2.263 MB / 0.7751 GB, free: 30.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.9863, allocations: 2.12 MB / 0.7772 GB, free: 28.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/0.9867, allocations: 66.91 kB / 0.7773 GB, free: 28.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.9868, allocations: 77.55 kB / 0.7773 GB, free: 28.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 6.091e-06/0.9868, allocations: 0 / 0.7773 GB, free: 28.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.05578/1.043, allocations: 18.26 MB / 0.7952 GB, free: 9.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.043, allocations: 171.4 kB / 0.7953 GB, free: 9.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/1.046, allocations: 2.468 MB / 0.7977 GB, free: 7.168 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007895/1.047, allocations: 25.7 kB / 0.7978 GB, free: 7.137 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/1.048, allocations: 1.186 MB / 0.7989 GB, free: 5.934 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002188/1.05, allocations: 1.243 MB / 0.8001 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/1.05, allocations: 0 / 0.8001 GB, free: 4.672 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/1.05, allocations: 445.5 kB / 0.8006 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/1.053, allocations: 1.761 MB / 0.8023 GB, free: 2.469 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/1.057, allocations: 2.334 MB / 0.8046 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.06, allocations: 1.964 MB / 0.8065 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/1.06, allocations: 4 kB / 0.8065 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.06022/1.12, allocations: 18.36 MB / 0.8244 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002321/1.123, allocations: 6.613 MB / 0.8309 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-05/1.123, allocations: 15.98 kB / 0.8309 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02707/1.15, allocations: 7.109 MB / 0.8378 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/1.154, allocations: 0.5578 MB / 0.8384 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06172/1.215, allocations: 21.97 MB / 0.8598 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007042/1.222, allocations: 0.6646 MB / 0.8605 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/1.223, allocations: 132 kB / 0.8606 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.223, allocations: 4 kB / 0.8606 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06079/1.284, allocations: 17.86 MB / 0.878 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.3e-05/1.284, allocations: 16 kB / 0.8781 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02673/1.311, allocations: 7.109 MB / 0.885 GB, free: 12.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/1.315, allocations: 0.55 MB / 0.8855 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2272/1.542, allocations: 21.97 MB / 0.907 GB, free: 175.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/1.548, allocations: 0.6326 MB / 0.9076 GB, free: 175.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005785/1.549, allocations: 135 kB / 0.9077 GB, free: 175.4 MB / 0.573 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 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 order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 324 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.000945/1.55, allocations: 199.1 kB / 0.9079 GB, free: 175.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009386/1.551, allocations: 462.5 kB / 0.9084 GB, free: 175.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05545/1.606, allocations: 18.68 MB / 0.9266 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/1.606, allocations: 40.94 kB / 0.9266 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/1.606, allocations: 32.19 kB / 0.9267 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.213e-05/1.606, allocations: 20.12 kB / 0.9267 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06442/1.671, allocations: 23.61 MB / 0.9497 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/1.671, allocations: 0 / 0.9497 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.674, allocations: 411.5 kB / 0.9501 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02586/1.7, allocations: 7.159 MB / 0.9571 GB, free: 173.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008988/1.701, allocations: 15.86 kB / 0.9571 GB, free: 173.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05296/1.754, allocations: 20.14 MB / 0.9768 GB, free: 167.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.754, allocations: 0 / 0.9768 GB, free: 167.6 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06267/1.816, allocations: 21.63 MB / 0.9979 GB, free: 153.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.818, allocations: 0.5589 MB / 0.9985 GB, free: 153.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/1.819, allocations: 0 / 0.9985 GB, free: 153.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005179/1.825, allocations: 479.2 kB / 0.9989 GB, free: 153 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/1.826, allocations: 454.2 kB / 0.9994 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003869/1.826, allocations: 91.7 kB / 0.9995 GB, free: 152.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002452/1.829, allocations: 1.826 MB / 1.001 GB, free: 151 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006702/1.835, allocations: 2.584 MB / 1.004 GB, free: 148.6 MB / 0.573 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,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 (251): * Single equations (assignments): 249 * 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006535/1.836, allocations: 153.8 kB / 1.004 GB, free: 148.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03924/1.875, allocations: 13.9 MB / 1.017 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.875, allocations: 4 kB / 1.017 GB, free: 136 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01773/1.893, allocations: 5.773 MB / 1.023 GB, free: 130.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.896, allocations: 241.7 kB / 1.023 GB, free: 130.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.914, allocations: 6.329 MB / 1.03 GB, free: 124.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/1.916, allocations: 2.67 MB / 1.032 GB, free: 122.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.32e-07/1.916, allocations: 0 / 1.032 GB, free: 122.9 MB / 0.573 GB Notification: Performance of Templates: time 0.1519/2.068, allocations: 113.8 MB / 1.143 GB, free: 23.9 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)