Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006084/0.006084, allocations: 167.5 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 239.1 MB, free: 1.73 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.0008118/0.000812, allocations: 97.3 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4539/0.4539, allocations: 78.6 MB / 420 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 16 kB / 499.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 69.35 MB / 0.5559 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.005469/0.3579, allocations: 5.833 MB / 0.5616 GB, free: 37.65 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.3618, allocations: 1.918 MB / 0.5635 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006536/0.3625, allocations: 15.97 kB / 0.5635 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.3631, allocations: 168.4 kB / 0.5636 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3648, allocations: 0.6688 MB / 0.5643 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3661, allocations: 0.5296 MB / 0.5648 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.3677, allocations: 1.379 MB / 0.5662 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.3682, allocations: 250.6 kB / 0.5664 GB, free: 34.72 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.3692, allocations: 0.5386 MB / 0.5669 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007608/0.3699, allocations: 0.7259 MB / 0.5676 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.3701, allocations: 57.94 kB / 0.5677 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.3706, allocations: 186.8 kB / 0.5679 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.3708, allocations: 253.3 kB / 0.5681 GB, free: 34.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.371, allocations: 229.8 kB / 0.5683 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.3719, allocations: 1.212 MB / 0.5695 GB, free: 33.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3719, allocations: 0 / 0.5695 GB, free: 33.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3719, allocations: 0 / 0.5695 GB, free: 33.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3719, allocations: 0 / 0.5695 GB, free: 33.5 MB / 426.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.007721/0.3797, allocations: 2.494 MB / 0.5719 GB, free: 32.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3797, allocations: 8.812 kB / 0.572 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004848/0.3846, allocations: 0.7888 MB / 0.5727 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.3859, allocations: 0.845 MB / 0.5735 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.3862, allocations: 242.8 kB / 0.5738 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.3863, allocations: 84.34 kB / 0.5739 GB, free: 31.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.3884, allocations: 1.146 MB / 0.575 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3884, allocations: 3.938 kB / 0.575 GB, free: 31.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.3885, allocations: 25.66 kB / 0.575 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3885, allocations: 24.7 kB / 0.575 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.3904, allocations: 1.073 MB / 0.5761 GB, free: 30.64 MB / 426.7 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.005869/0.3963, allocations: 3.924 MB / 0.5799 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007879/0.4042, allocations: 2.883 MB / 0.5827 GB, free: 27.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4056, allocations: 0.7494 MB / 0.5835 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.4057, allocations: 14.94 kB / 0.5835 GB, free: 27.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4057, allocations: 46 kB / 0.5835 GB, free: 27.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.597e-06/0.4057, allocations: 3.938 kB / 0.5835 GB, free: 27.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03039/0.4361, allocations: 8.428 MB / 0.5918 GB, free: 25.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.4362, allocations: 143.1 kB / 0.5919 GB, free: 25.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4383, allocations: 1.069 MB / 0.5929 GB, free: 25.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.4385, allocations: 45.77 kB / 0.593 GB, free: 25.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.439, allocations: 498.1 kB / 0.5935 GB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/0.4394, allocations: 343.1 kB / 0.5938 GB, free: 24.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.4396, allocations: 26.12 kB / 0.5938 GB, free: 24.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4398, allocations: 363.6 kB / 0.5941 GB, free: 24.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.4416, allocations: 0.8069 MB / 0.5949 GB, free: 23.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.4436, allocations: 0.9782 MB / 0.5959 GB, free: 23.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.4456, allocations: 0.9396 MB / 0.5968 GB, free: 22.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.4456, allocations: 4 kB / 0.5968 GB, free: 22.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01598/0.4616, allocations: 5.137 MB / 0.6018 GB, free: 21.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.4618, allocations: 234.9 kB / 0.6021 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4619, allocations: 2.219 kB / 0.6021 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006759/0.4686, allocations: 1.85 MB / 0.6039 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.4702, allocations: 271.4 kB / 0.6041 GB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.4911, allocations: 8.855 MB / 0.6128 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.4932, allocations: 222.8 kB / 0.613 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.4935, allocations: 63.92 kB / 0.613 GB, free: 15.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.4935, allocations: 4 kB / 0.613 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.5073, allocations: 4.965 MB / 0.6179 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.5074, allocations: 4 kB / 0.6179 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005849/0.5132, allocations: 1.851 MB / 0.6197 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.5147, allocations: 263.6 kB / 0.62 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.533, allocations: 8.856 MB / 0.6286 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.5349, allocations: 207.2 kB / 0.6288 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.5352, allocations: 51.98 kB / 0.6289 GB, free: 14.89 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008105/0.536, allocations: 375.5 kB / 0.6292 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.5363, allocations: 122.4 kB / 0.6293 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.5501, allocations: 4.591 MB / 0.6338 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5502, allocations: 12 kB / 0.6338 GB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.5502, allocations: 7.984 kB / 0.6338 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.5502, allocations: 7.984 kB / 0.6338 GB, free: 9.75 MB / 442.7 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.01614/0.5664, allocations: 6.234 MB / 0.6399 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5664, allocations: 0 / 0.6399 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/0.5671, allocations: 115.8 kB / 0.64 GB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005673/0.5728, allocations: 1.785 MB / 0.6418 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.573, allocations: 24 kB / 0.6418 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.5904, allocations: 7.617 MB / 0.6492 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5904, allocations: 4 kB / 0.6492 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.6062, allocations: 5.517 MB / 0.6546 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/0.6068, allocations: 227.2 kB / 0.6548 GB, free: 3.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.6072, allocations: 20 kB / 0.6549 GB, free: 3.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.6086, allocations: 139.9 kB / 0.655 GB, free: 3.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000514/0.6091, allocations: 180.7 kB / 0.6552 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/0.6092, allocations: 20 kB / 0.6552 GB, free: 3.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001171/0.6104, allocations: 0.7237 MB / 0.6559 GB, free: 2.844 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6104, allocations: 4 kB / 0.6559 GB, free: 2.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002358/0.6128, allocations: 0.7568 MB / 0.6566 GB, free: 2.082 MB / 458.7 MB 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 () * Number of clocked 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.613, allocations: 131.2 kB / 0.6568 GB, free: 1.945 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01166/0.6247, allocations: 4.785 MB / 0.6614 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6247, allocations: 0 / 0.6614 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004345/0.6291, allocations: 1.645 MB / 0.663 GB, free: 11.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6302, allocations: 111 kB / 0.6632 GB, free: 11.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.6343, allocations: 2.619 MB / 0.6657 GB, free: 8.676 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.635, allocations: 1.129 MB / 0.6668 GB, free: 7.516 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007117/0.6357, allocations: 151.7 kB / 0.667 GB, free: 7.363 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.636, allocations: 79.41 kB / 0.667 GB, free: 7.285 MB / 474.7 MB Notification: Performance of SimCode: time 4e-07/0.636, allocations: 0 / 0.667 GB, free: 7.285 MB / 474.7 MB Notification: Performance of Templates: time 0.03949/0.6755, allocations: 26.97 MB / 0.6934 GB, free: 12.3 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)