Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 175.3 kB / 15.78 MB, free: 6.34 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.345/1.345, allocations: 223.3 MB / 239.8 MB, free: 1.734 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.0007305/0.0007304, allocations: 85.8 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4306/0.4306, allocations: 78.61 MB / 420.7 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 12 kB / 0.4888 GB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3356, allocations: 69.35 MB / 0.5565 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005813/0.3415, allocations: 6.128 MB / 0.5625 GB, free: 37.47 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.3457, allocations: 1.961 MB / 0.5644 GB, free: 36.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.3469, allocations: 12.44 kB / 0.5644 GB, free: 36.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.3477, allocations: 174.2 kB / 0.5646 GB, free: 36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.3501, allocations: 0.6778 MB / 0.5652 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3515, allocations: 0.5252 MB / 0.5658 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3536, allocations: 1.488 MB / 0.5672 GB, free: 34.55 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.3541, allocations: 266.3 kB / 0.5675 GB, free: 34.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.3552, allocations: 0.5867 MB / 0.568 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.3561, allocations: 0.7809 MB / 0.5688 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.3563, allocations: 65.06 kB / 0.5689 GB, free: 33.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.3568, allocations: 188.8 kB / 0.569 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.357, allocations: 262.8 kB / 0.5693 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.3572, allocations: 234.8 kB / 0.5695 GB, free: 33.52 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009487/0.3582, allocations: 1.283 MB / 0.5708 GB, free: 33.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3582, allocations: 0 / 0.5708 GB, free: 33.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3582, allocations: 2.875 kB / 0.5708 GB, free: 33.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.3582, allocations: 0 / 0.5708 GB, free: 33.15 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008317/0.3666, allocations: 2.608 MB / 0.5733 GB, free: 32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3666, allocations: 10.69 kB / 0.5733 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.3717, allocations: 0.7838 MB / 0.5741 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.3734, allocations: 0.885 MB / 0.575 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.3736, allocations: 269 kB / 0.5752 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.3738, allocations: 83.69 kB / 0.5753 GB, free: 31.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3759, allocations: 1.169 MB / 0.5764 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3759, allocations: 0 / 0.5764 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.376, allocations: 30.06 kB / 0.5765 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3761, allocations: 22.14 kB / 0.5765 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.378, allocations: 1.062 MB / 0.5775 GB, free: 30.22 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.006171/0.3842, allocations: 3.994 MB / 0.5814 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00774/0.392, allocations: 2.947 MB / 0.5843 GB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3934, allocations: 0.7575 MB / 0.585 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-05/0.3935, allocations: 15.48 kB / 0.5851 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.395, allocations: 0.904 MB / 0.5859 GB, free: 26.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/0.3951, allocations: 0 / 0.5859 GB, free: 26.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.03038/0.4255, allocations: 8.607 MB / 0.5943 GB, free: 24.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4256, allocations: 114.6 kB / 0.5945 GB, free: 24.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.4274, allocations: 1.131 MB / 0.5956 GB, free: 24.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.4277, allocations: 46.02 kB / 0.5956 GB, free: 24.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.428, allocations: 0.4987 MB / 0.5961 GB, free: 23.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.4283, allocations: 367.5 kB / 0.5964 GB, free: 23.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4284, allocations: 31.34 kB / 0.5965 GB, free: 23.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.4285, allocations: 371.8 kB / 0.5968 GB, free: 23.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.4303, allocations: 0.8477 MB / 0.5977 GB, free: 22.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4322, allocations: 1.029 MB / 0.5987 GB, free: 22.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.4342, allocations: 0.9851 MB / 0.5996 GB, free: 21.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4342, allocations: 1.5 kB / 0.5996 GB, free: 21.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01703/0.4512, allocations: 5.305 MB / 0.6048 GB, free: 20.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/0.4513, allocations: 59.59 kB / 0.6049 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4514, allocations: 3.344 kB / 0.6049 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007966/0.4593, allocations: 2.009 MB / 0.6068 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.461, allocations: 298 kB / 0.6071 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.4821, allocations: 10.4 MB / 0.6173 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.4842, allocations: 242.6 kB / 0.6175 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4843, allocations: 67.91 kB / 0.6176 GB, free: 11.13 MB / 426.7 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.0005255/0.4849, allocations: 296.4 kB / 0.6178 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.4851, allocations: 126.4 kB / 0.618 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.4984, allocations: 4.752 MB / 0.6226 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4984, allocations: 12 kB / 0.6226 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4984, allocations: 4 kB / 0.6226 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.4985, allocations: 11.98 kB / 0.6226 GB, free: 5.895 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 postOpt removeSimpleEquations (simulation): time 0.01449/0.513, allocations: 6.388 MB / 0.6289 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.513, allocations: 3.938 kB / 0.6289 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.5137, allocations: 111.9 kB / 0.629 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006064/0.5198, allocations: 1.891 MB / 0.6308 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.52, allocations: 20 kB / 0.6308 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/0.54, allocations: 9.668 MB / 0.6403 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.54, allocations: 4.125 kB / 0.6403 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02194/0.562, allocations: 5.702 MB / 0.6459 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.5627, allocations: 231.2 kB / 0.6461 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.5631, allocations: 27.95 kB / 0.6461 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/0.5654, allocations: 147.9 kB / 0.6462 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008492/0.5662, allocations: 192.7 kB / 0.6464 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.5664, allocations: 27.98 kB / 0.6465 GB, free: 13.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001888/0.5683, allocations: 0.7634 MB / 0.6472 GB, free: 12.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5683, allocations: 0 / 0.6472 GB, free: 12.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002302/0.5706, allocations: 495.6 kB / 0.6477 GB, free: 11.79 MB / 458.7 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.0003785/0.571, allocations: 131.7 kB / 0.6478 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01215/0.5832, allocations: 2.994 MB / 0.6507 GB, free: 8.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5832, allocations: 0 / 0.6507 GB, free: 8.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008404/0.5917, allocations: 1.832 MB / 0.6525 GB, free: 6.734 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.5933, allocations: 114.6 kB / 0.6526 GB, free: 6.625 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.6009, allocations: 2.918 MB / 0.6555 GB, free: 3.684 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.6019, allocations: 1.136 MB / 0.6566 GB, free: 2.516 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.6026, allocations: 79.42 kB / 0.6567 GB, free: 2.438 MB / 458.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6026, allocations: 0 / 0.6567 GB, free: 2.438 MB / 458.7 MB Notification: Performance of Templates: time 0.04869/0.6513, allocations: 26.48 MB / 0.6825 GB, free: 7.961 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)