Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.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 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.386/1.386, allocations: 222.9 MB / 238.8 MB, free: 4.641 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.001525/0.001524, allocations: 184.5 kB / 289.1 MB, free: 2.391 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5384/0.5384, allocations: 91.89 MB / 431.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 75.88 kB / 0.5012 GB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4234, allocations: 71.27 MB / 0.5708 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007215/0.4306, allocations: 6.964 MB / 0.5776 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004596/0.4353, allocations: 2.038 MB / 0.5796 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.4369, allocations: 9.844 kB / 0.5796 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.438, allocations: 191.9 kB / 0.5798 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.4406, allocations: 0.7374 MB / 0.5805 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.442, allocations: 0.5885 MB / 0.5811 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.4438, allocations: 1.548 MB / 0.5826 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.4442, allocations: 291.5 kB / 0.5829 GB, free: 29.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.445, allocations: 0.6156 MB / 0.5835 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.4457, allocations: 0.8053 MB / 0.5843 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.4458, allocations: 75.03 kB / 0.5843 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.4463, allocations: 206 kB / 0.5845 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.4466, allocations: 290.8 kB / 0.5848 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.447, allocations: 0.6359 MB / 0.5854 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.4485, allocations: 1.636 MB / 0.587 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4485, allocations: 0 / 0.587 GB, free: 27.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4486, allocations: 1.094 kB / 0.587 GB, free: 27.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.4486, allocations: 0 / 0.587 GB, free: 27.41 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009598/0.4582, allocations: 2.755 MB / 0.5897 GB, free: 26.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.4583, allocations: 7.719 kB / 0.5897 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.4633, allocations: 0.783 MB / 0.5905 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.4651, allocations: 0.9156 MB / 0.5914 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.4654, allocations: 261.1 kB / 0.5916 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.4655, allocations: 87.38 kB / 0.5917 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.4677, allocations: 1.106 MB / 0.5928 GB, free: 24.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.4677, allocations: 3.938 kB / 0.5928 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.4678, allocations: 30.78 kB / 0.5928 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.4679, allocations: 18.16 kB / 0.5928 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4699, allocations: 0.9967 MB / 0.5938 GB, free: 24.3 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.006689/0.4766, allocations: 3.876 MB / 0.5976 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.4837, allocations: 2.388 MB / 0.5999 GB, free: 21.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.4852, allocations: 0.6851 MB / 0.6006 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.4854, allocations: 13.22 kB / 0.6006 GB, free: 20.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.487, allocations: 0.8336 MB / 0.6014 GB, free: 20.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.515e-06/0.4871, allocations: 0 / 0.6014 GB, free: 20.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03046/0.5175, allocations: 7.223 MB / 0.6085 GB, free: 19.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.5176, allocations: 119 kB / 0.6086 GB, free: 19.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.5204, allocations: 1.127 MB / 0.6097 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/0.5207, allocations: 43.02 kB / 0.6097 GB, free: 18.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.5212, allocations: 0.4962 MB / 0.6102 GB, free: 18.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.5219, allocations: 365.6 kB / 0.6106 GB, free: 17.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009104/0.5228, allocations: 297.8 kB / 0.6109 GB, free: 17.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.5229, allocations: 301.8 kB / 0.6111 GB, free: 17.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.5248, allocations: 0.7772 MB / 0.6119 GB, free: 17.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.5268, allocations: 0.9507 MB / 0.6128 GB, free: 16.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02445/0.5513, allocations: 5.805 MB / 0.6185 GB, free: 13.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.5513, allocations: 4 kB / 0.6185 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01375/0.5651, allocations: 4.446 MB / 0.6228 GB, free: 8.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.5652, allocations: 59.34 kB / 0.6229 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5652, allocations: 4 kB / 0.6229 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005406/0.5706, allocations: 1.639 MB / 0.6245 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5721, allocations: 291.6 kB / 0.6248 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.5902, allocations: 7.941 MB / 0.6325 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/0.5932, allocations: 198.7 kB / 0.6327 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005265/0.5938, allocations: 63.97 kB / 0.6328 GB, free: 14.6 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.5953, allocations: 296.4 kB / 0.6331 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.596, allocations: 134.3 kB / 0.6332 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.6097, allocations: 3.904 MB / 0.637 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.6098, allocations: 12 kB / 0.637 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/0.6098, allocations: 4 kB / 0.637 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.6098, allocations: 3.984 kB / 0.637 GB, free: 10.21 MB / 446.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.01599/0.6258, allocations: 5.516 MB / 0.6424 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6259, allocations: 4 kB / 0.6424 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.6266, allocations: 103.8 kB / 0.6425 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/0.6321, allocations: 1.595 MB / 0.6441 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.6323, allocations: 24 kB / 0.6441 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.6516, allocations: 8.809 MB / 0.6527 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6517, allocations: 0 / 0.6527 GB, free: 9.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.6665, allocations: 4.776 MB / 0.6574 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.6672, allocations: 227.2 kB / 0.6576 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004912/0.6677, allocations: 27.98 kB / 0.6576 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6693, allocations: 103.9 kB / 0.6577 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007335/0.6701, allocations: 192.7 kB / 0.6579 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.6702, allocations: 31.98 kB / 0.6579 GB, free: 4.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.6717, allocations: 0.7553 MB / 0.6587 GB, free: 3.598 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6718, allocations: 0 / 0.6587 GB, free: 3.598 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002078/0.6738, allocations: 483.5 kB / 0.6591 GB, free: 3.125 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/0.6742, allocations: 148 kB / 0.6593 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006921/0.6812, allocations: 2.581 MB / 0.6618 GB, free: 356 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6812, allocations: 4 kB / 0.6618 GB, free: 352 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.6855, allocations: 1.594 MB / 0.6633 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.687, allocations: 113.7 kB / 0.6635 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.6923, allocations: 2.801 MB / 0.6662 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008286/0.6932, allocations: 1.128 MB / 0.6673 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006001/0.6938, allocations: 124.1 kB / 0.6674 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/0.6941, allocations: 75.41 kB / 0.6675 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6941, allocations: 4 kB / 0.6675 GB, free: 10.42 MB / 478.1 MB Notification: Performance of Templates: time 0.03957/0.7337, allocations: 22.1 MB / 0.6891 GB, free: 4.363 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)