Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005535/0.005535, allocations: 169 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.278/1.278, allocations: 223.3 MB / 239.1 MB, free: 15.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 99.56 kB / 290.3 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4425/0.4425, allocations: 78.62 MB / 420 MB, free: 36.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 11.94 kB / 499.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 69.35 MB / 0.5559 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.005729/0.1302, allocations: 5.97 MB / 0.5617 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.134, allocations: 1.951 MB / 0.5636 GB, free: 9.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.1345, allocations: 12 kB / 0.5636 GB, free: 9.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.135, allocations: 174.7 kB / 0.5638 GB, free: 9.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.1366, allocations: 0.68 MB / 0.5645 GB, free: 8.973 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1378, allocations: 0.5409 MB / 0.565 GB, free: 8.438 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1393, allocations: 1.425 MB / 0.5664 GB, free: 7.008 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.1396, allocations: 249.2 kB / 0.5666 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.1402, allocations: 0.5717 MB / 0.5672 GB, free: 6.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007867/0.141, allocations: 0.7468 MB / 0.5679 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1412, allocations: 60 kB / 0.568 GB, free: 5.371 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.1416, allocations: 179.9 kB / 0.5682 GB, free: 5.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.1419, allocations: 266.7 kB / 0.5684 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.1421, allocations: 236.9 kB / 0.5686 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1432, allocations: 1.243 MB / 0.5698 GB, free: 3.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1432, allocations: 0 / 0.5698 GB, free: 3.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1433, allocations: 0 / 0.5698 GB, free: 3.449 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.1433, allocations: 0 / 0.5698 GB, free: 3.449 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.008306/0.1516, allocations: 2.556 MB / 0.5723 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1516, allocations: 8.031 kB / 0.5724 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.1565, allocations: 0.7904 MB / 0.5731 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2105/0.367, allocations: 0.8559 MB / 0.574 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.3673, allocations: 241.5 kB / 0.5742 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.3675, allocations: 82.47 kB / 0.5743 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.3696, allocations: 1.164 MB / 0.5754 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3697, allocations: 2.953 kB / 0.5754 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.3698, allocations: 33.62 kB / 0.5754 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3698, allocations: 23.36 kB / 0.5755 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.3718, allocations: 1.076 MB / 0.5765 GB, free: 43.6 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 preOpt removeSimpleEquations (simulation): time 0.006102/0.3779, allocations: 4.008 MB / 0.5804 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008131/0.386, allocations: 2.897 MB / 0.5833 GB, free: 41.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3875, allocations: 0.7584 MB / 0.584 GB, free: 41.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.3877, allocations: 16.94 kB / 0.584 GB, free: 41.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3877, allocations: 54.72 kB / 0.5841 GB, free: 41.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=94): time 2.876e-06/0.3877, allocations: 0 / 0.5841 GB, free: 41.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=94): time 0.0292/0.4169, allocations: 8.226 MB / 0.5921 GB, free: 41.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.417, allocations: 143.9 kB / 0.5922 GB, free: 41.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.4186, allocations: 1.109 MB / 0.5933 GB, free: 40.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.4188, allocations: 45.64 kB / 0.5934 GB, free: 40.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.419, allocations: 0.4951 MB / 0.5938 GB, free: 40.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.4193, allocations: 345.6 kB / 0.5942 GB, free: 40.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.4194, allocations: 30.31 kB / 0.5942 GB, free: 40.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.4195, allocations: 367 kB / 0.5946 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4209, allocations: 0.8333 MB / 0.5954 GB, free: 39.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.4224, allocations: 1.009 MB / 0.5964 GB, free: 39.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.424, allocations: 0.9764 MB / 0.5973 GB, free: 38.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.424, allocations: 0 / 0.5973 GB, free: 38.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01344/0.4375, allocations: 5.129 MB / 0.6023 GB, free: 37.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.4376, allocations: 244 kB / 0.6025 GB, free: 37.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4376, allocations: 3.438 kB / 0.6026 GB, free: 37.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005701/0.4433, allocations: 1.844 MB / 0.6044 GB, free: 37.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.445, allocations: 303.2 kB / 0.6046 GB, free: 36.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.4645, allocations: 8.654 MB / 0.6131 GB, free: 33.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.4665, allocations: 226.6 kB / 0.6133 GB, free: 33.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.4667, allocations: 53.88 kB / 0.6134 GB, free: 33.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.4667, allocations: 3.875 kB / 0.6134 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/0.4808, allocations: 4.976 MB / 0.6182 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.4809, allocations: 3.047 kB / 0.6182 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/0.4871, allocations: 1.848 MB / 0.62 GB, free: 31.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.4888, allocations: 293.2 kB / 0.6203 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.5081, allocations: 8.66 MB / 0.6288 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.5098, allocations: 212.1 kB / 0.629 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.51, allocations: 53.77 kB / 0.629 GB, free: 27.97 MB / 442.7 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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 158 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006133/0.5106, allocations: 387.3 kB / 0.6294 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5108, allocations: 121.5 kB / 0.6295 GB, free: 27.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5236, allocations: 4.628 MB / 0.634 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5236, allocations: 8 kB / 0.634 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5236, allocations: 8 kB / 0.634 GB, free: 24.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.5237, allocations: 3.984 kB / 0.634 GB, free: 24.04 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.01416/0.5378, allocations: 6.297 MB / 0.6402 GB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5379, allocations: 7.984 kB / 0.6402 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.5385, allocations: 119.8 kB / 0.6403 GB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005088/0.5436, allocations: 1.789 MB / 0.6421 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.5438, allocations: 20.62 kB / 0.6421 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/0.5586, allocations: 7.605 MB / 0.6495 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5587, allocations: 0 / 0.6495 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/0.5725, allocations: 5.567 MB / 0.6549 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.5729, allocations: 235.2 kB / 0.6552 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5731, allocations: 19.95 kB / 0.6552 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.5743, allocations: 140.9 kB / 0.6553 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/0.5747, allocations: 180.7 kB / 0.6555 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.5748, allocations: 20 kB / 0.6555 GB, free: 1.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009122/0.5757, allocations: 0.752 MB / 0.6562 GB, free: 1.012 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5757, allocations: 0 / 0.6562 GB, free: 1.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001835/0.5776, allocations: 0.7634 MB / 0.657 GB, free: 256 kB / 442.7 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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.0002224/0.5778, allocations: 142.4 kB / 0.6571 GB, free: 104 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01162/0.5894, allocations: 4.898 MB / 0.6619 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5895, allocations: 0 / 0.6619 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004409/0.5939, allocations: 1.657 MB / 0.6635 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.5948, allocations: 118.4 kB / 0.6636 GB, free: 9.355 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.5991, allocations: 2.8 MB / 0.6664 GB, free: 6.586 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.5997, allocations: 1.14 MB / 0.6675 GB, free: 5.418 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006803/0.6004, allocations: 162.3 kB / 0.6676 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.6007, allocations: 79.41 kB / 0.6677 GB, free: 5.188 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6007, allocations: 0 / 0.6677 GB, free: 5.188 MB / 458.7 MB Notification: Performance of Templates: time 0.03798/0.6387, allocations: 27.19 MB / 0.6943 GB, free: 10.13 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)