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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 182.8 kB / 15.98 MB, free: 5.77 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.241/1.241, allocations: 222.9 MB / 239.7 MB, free: 10.96 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.0009485/0.0009485, allocations: 105.6 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4146/0.4146, allocations: 78.49 MB / 418.5 MB, free: 8.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 497.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 68.13 MB / 0.5523 GB, free: 20.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.004963/0.2659, allocations: 6.953 MB / 0.5591 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.2693, allocations: 2.033 MB / 0.5611 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.27, allocations: 12 kB / 0.5611 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006167/0.2706, allocations: 182.8 kB / 0.5613 GB, free: 10.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.2721, allocations: 0.7332 MB / 0.562 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.273, allocations: 0.5987 MB / 0.5626 GB, free: 9.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009256/0.274, allocations: 1.558 MB / 0.5641 GB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.2743, allocations: 299.4 kB / 0.5644 GB, free: 7.777 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.2748, allocations: 0.6144 MB / 0.565 GB, free: 7.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005596/0.2754, allocations: 0.8087 MB / 0.5658 GB, free: 6.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.2755, allocations: 76 kB / 0.5658 GB, free: 6.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.2759, allocations: 211.8 kB / 0.566 GB, free: 6.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.2761, allocations: 282.7 kB / 0.5663 GB, free: 5.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.2765, allocations: 0.6444 MB / 0.5669 GB, free: 5.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.2774, allocations: 1.631 MB / 0.5685 GB, free: 3.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2774, allocations: 0 / 0.5685 GB, free: 3.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2774, allocations: 3.938 kB / 0.5685 GB, free: 3.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.2774, allocations: 4 kB / 0.5685 GB, free: 3.496 MB / 378.7 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.007993/0.2854, allocations: 2.754 MB / 0.5712 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2855, allocations: 11.97 kB / 0.5712 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.29, allocations: 0.7788 MB / 0.572 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.2914, allocations: 0.9061 MB / 0.5729 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.2917, allocations: 264.2 kB / 0.5731 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.2919, allocations: 87.84 kB / 0.5732 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.2939, allocations: 1.098 MB / 0.5743 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.294, allocations: 3.938 kB / 0.5743 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.2941, allocations: 32 kB / 0.5743 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2941, allocations: 16 kB / 0.5743 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.2961, allocations: 0.9994 MB / 0.5753 GB, free: 12.38 MB / 394.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.006251/0.3024, allocations: 3.887 MB / 0.5791 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007324/0.3097, allocations: 2.383 MB / 0.5814 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.3111, allocations: 0.6879 MB / 0.5821 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3113, allocations: 20.98 kB / 0.5821 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.3128, allocations: 0.8333 MB / 0.5829 GB, free: 4.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 2.785e-06/0.3128, allocations: 0 / 0.5829 GB, free: 4.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02911/0.3419, allocations: 7.218 MB / 0.59 GB, free: 12.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.342, allocations: 111.8 kB / 0.5901 GB, free: 12.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.3436, allocations: 1.134 MB / 0.5912 GB, free: 11.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.3438, allocations: 45.7 kB / 0.5913 GB, free: 11.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.3441, allocations: 0.493 MB / 0.5917 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3444, allocations: 358.9 kB / 0.5921 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.3449, allocations: 291.4 kB / 0.5924 GB, free: 10.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.345, allocations: 301.1 kB / 0.5926 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.3466, allocations: 0.7847 MB / 0.5934 GB, free: 9.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3483, allocations: 0.9499 MB / 0.5943 GB, free: 8.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02483/0.3731, allocations: 5.797 MB / 0.6 GB, free: 2.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.3732, allocations: 0 / 0.6 GB, free: 2.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01441/0.3876, allocations: 4.453 MB / 0.6043 GB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.3877, allocations: 67.33 kB / 0.6044 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.3877, allocations: 4 kB / 0.6044 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005955/0.3937, allocations: 1.627 MB / 0.606 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.3952, allocations: 291.6 kB / 0.6063 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.4148, allocations: 7.936 MB / 0.614 GB, free: 3.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4167, allocations: 206.7 kB / 0.6142 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.417, allocations: 59.91 kB / 0.6143 GB, free: 3.73 MB / 426.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 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.0006649/0.4176, allocations: 318.1 kB / 0.6146 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.4179, allocations: 126.4 kB / 0.6147 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.4312, allocations: 3.893 MB / 0.6185 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.4313, allocations: 15.94 kB / 0.6185 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/0.4313, allocations: 11.94 kB / 0.6185 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.4313, allocations: 3.984 kB / 0.6185 GB, free: 15.33 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.01559/0.4469, allocations: 5.524 MB / 0.6239 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.447, allocations: 0 / 0.6239 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.4477, allocations: 103.8 kB / 0.624 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/0.4533, allocations: 1.587 MB / 0.6256 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.4534, allocations: 19.98 kB / 0.6256 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/0.4724, allocations: 8.816 MB / 0.6342 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4724, allocations: 4 kB / 0.6342 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09676/0.5692, allocations: 33.29 MB / 0.6667 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.5697, allocations: 231.2 kB / 0.6669 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.5701, allocations: 20 kB / 0.667 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.5715, allocations: 111.8 kB / 0.6671 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/0.5723, allocations: 196.6 kB / 0.6673 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.5724, allocations: 24 kB / 0.6673 GB, free: 12.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001394/0.5738, allocations: 0.7592 MB / 0.668 GB, free: 11.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5739, allocations: 0 / 0.668 GB, free: 11.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002439/0.5763, allocations: 0.6675 MB / 0.6687 GB, free: 11.04 MB / 490.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,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.0004898/0.5768, allocations: 136.3 kB / 0.6688 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007388/0.5842, allocations: 2.605 MB / 0.6713 GB, free: 8.254 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5843, allocations: 0 / 0.6713 GB, free: 8.254 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004638/0.5889, allocations: 1.583 MB / 0.6729 GB, free: 6.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5902, allocations: 112.6 kB / 0.673 GB, free: 6.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008706/0.5989, allocations: 4.283 MB / 0.6772 GB, free: 2.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.5998, allocations: 1.168 MB / 0.6783 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.6005, allocations: 124.1 kB / 0.6784 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.6009, allocations: 83.41 kB / 0.6785 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6009, allocations: 0 / 0.6785 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of Templates: time 0.3437/0.9446, allocations: 32.55 MB / 0.7103 GB, free: 96.41 MB / 490.7 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)