Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 238.9 MB, free: 5.664 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 177 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4349/0.4349, allocations: 78.52 MB / 419.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 8 kB / 499.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 69.37 MB / 0.5557 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.2053/0.3287, allocations: 5.853 MB / 0.5614 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3322, allocations: 1.986 MB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.3329, allocations: 11.91 kB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.3335, allocations: 171.8 kB / 0.5635 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.3353, allocations: 0.7458 MB / 0.5642 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3364, allocations: 0.5175 MB / 0.5647 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3378, allocations: 1.038 MB / 0.5658 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.3382, allocations: 262.8 kB / 0.566 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.339, allocations: 0.5917 MB / 0.5666 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.3398, allocations: 0.7541 MB / 0.5673 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.3399, allocations: 64.91 kB / 0.5674 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.3404, allocations: 174.4 kB / 0.5675 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3406, allocations: 264.5 kB / 0.5678 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.3408, allocations: 236 kB / 0.568 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009697/0.3418, allocations: 1.245 MB / 0.5692 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.3418, allocations: 0 / 0.5692 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3418, allocations: 0.7188 kB / 0.5692 GB, free: 36.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.3418, allocations: 0 / 0.5692 GB, free: 36.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008245/0.3501, allocations: 2.609 MB / 0.5718 GB, free: 35.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3501, allocations: 14.14 kB / 0.5718 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.3552, allocations: 0.7819 MB / 0.5726 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.3571, allocations: 0.8869 MB / 0.5734 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.3574, allocations: 269 kB / 0.5737 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.3576, allocations: 82.78 kB / 0.5738 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.3596, allocations: 1.159 MB / 0.5749 GB, free: 34.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3597, allocations: 4 kB / 0.5749 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.3598, allocations: 32.83 kB / 0.5749 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.3598, allocations: 22.08 kB / 0.575 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.3617, allocations: 1.067 MB / 0.576 GB, free: 33.72 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/0.368, allocations: 4.198 MB / 0.5801 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.3752, allocations: 2.94 MB / 0.583 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.3754, allocations: 19.2 kB / 0.583 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/0.3772, allocations: 0.8926 MB / 0.5839 GB, free: 29.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 4.93e-06/0.3772, allocations: 1.125 kB / 0.5839 GB, free: 29.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02903/0.4063, allocations: 8.609 MB / 0.5923 GB, free: 28.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.4064, allocations: 119.7 kB / 0.5924 GB, free: 28.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4081, allocations: 1.128 MB / 0.5935 GB, free: 27.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.4084, allocations: 45.95 kB / 0.5935 GB, free: 27.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.4087, allocations: 0.4918 MB / 0.594 GB, free: 27.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.4091, allocations: 372.1 kB / 0.5944 GB, free: 27.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.4092, allocations: 30.88 kB / 0.5944 GB, free: 27.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.4093, allocations: 371.7 kB / 0.5947 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.4109, allocations: 0.8489 MB / 0.5956 GB, free: 26.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4127, allocations: 1.025 MB / 0.5966 GB, free: 25.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.4145, allocations: 0.9804 MB / 0.5975 GB, free: 25.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4146, allocations: 1.344 kB / 0.5975 GB, free: 25.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01525/0.4298, allocations: 5.305 MB / 0.6027 GB, free: 24.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-05/0.4299, allocations: 63.69 kB / 0.6028 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.43, allocations: 5.609 kB / 0.6028 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007376/0.4373, allocations: 2.013 MB / 0.6047 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.4391, allocations: 299.5 kB / 0.605 GB, free: 23.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/0.4613, allocations: 10.82 MB / 0.6156 GB, free: 16.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.4635, allocations: 238.6 kB / 0.6158 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.4637, allocations: 61.66 kB / 0.6159 GB, free: 16.09 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000642/0.4644, allocations: 303.6 kB / 0.6162 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.4646, allocations: 126.4 kB / 0.6163 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.4767, allocations: 4.773 MB / 0.621 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4768, allocations: 12 kB / 0.621 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4768, allocations: 4 kB / 0.621 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/0.4768, allocations: 4.5 kB / 0.621 GB, free: 10.84 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.4907, allocations: 6.442 MB / 0.6273 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.4908, allocations: 0 / 0.6273 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.4916, allocations: 103.9 kB / 0.6274 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005234/0.4968, allocations: 1.882 MB / 0.6292 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/0.497, allocations: 28.94 kB / 0.6292 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.5169, allocations: 10.12 MB / 0.6391 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5169, allocations: 0 / 0.6391 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.532, allocations: 5.715 MB / 0.6447 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.5326, allocations: 236.2 kB / 0.6449 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.5328, allocations: 28 kB / 0.6449 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.534, allocations: 143.9 kB / 0.6451 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005226/0.5346, allocations: 197.6 kB / 0.6453 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.5347, allocations: 27.98 kB / 0.6453 GB, free: 1.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.5357, allocations: 0.7595 MB / 0.646 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5358, allocations: 0 / 0.646 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001511/0.5373, allocations: 491.6 kB / 0.6465 GB, free: 224 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002676/0.5375, allocations: 147 kB / 0.6466 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006825/0.5444, allocations: 2.987 MB / 0.6496 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5444, allocations: 0 / 0.6496 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.5489, allocations: 1.827 MB / 0.6513 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.5499, allocations: 98.44 kB / 0.6514 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.5541, allocations: 2.877 MB / 0.6543 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.5548, allocations: 1.159 MB / 0.6554 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.5553, allocations: 121.8 kB / 0.6555 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5556, allocations: 79.41 kB / 0.6556 GB, free: 6.848 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5556, allocations: 0 / 0.6556 GB, free: 6.848 MB / 462.1 MB Notification: Performance of Templates: time 0.03477/0.5904, allocations: 22.12 MB / 0.6772 GB, free: 0.9023 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: