Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004723/0.004723, allocations: 171 kB / 15.11 MB, free: 5.969 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.154/1.154, allocations: 223.2 MB / 239 MB, free: 1.793 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.000873/0.000873, allocations: 103.3 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3975/0.3975, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 12 kB / 499.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 69.35 MB / 0.5557 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4085, allocations: 102.6 MB / 0.6559 GB, free: 3.762 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4088, allocations: 80.61 kB / 0.656 GB, free: 3.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.237/0.6458, allocations: 101.2 MB / 0.7549 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6458, allocations: 0 / 0.7549 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001946/0.646, allocations: 88 kB / 0.7549 GB, free: 13.73 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01602/0.6621, allocations: 6.613 MB / 0.7614 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6621, allocations: 8.031 kB / 0.7614 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.6779, allocations: 2.807 MB / 0.7641 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003998/0.6819, allocations: 2.295 MB / 0.7664 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007247/0.6826, allocations: 0.9924 MB / 0.7674 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.6831, allocations: 344 kB / 0.7677 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.227/0.9101, allocations: 4.939 MB / 0.7725 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.9102, allocations: 0 / 0.7725 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.9106, allocations: 139.8 kB / 0.7726 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.9107, allocations: 86.75 kB / 0.7727 GB, free: 90.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00808/0.9188, allocations: 4.5 MB / 0.7771 GB, free: 90.59 MB / 0.5573 GB 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.02537/0.9442, allocations: 18.64 MB / 0.7953 GB, free: 84.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.9554, allocations: 5.683 MB / 0.8009 GB, free: 83.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/0.9559, allocations: 70.98 kB / 0.8009 GB, free: 83.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005846/0.9617, allocations: 3.431 MB / 0.8043 GB, free: 83.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 5.55e-06/0.9618, allocations: 1.375 kB / 0.8043 GB, free: 83.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.2729/1.235, allocations: 76.99 MB / 0.8795 GB, free: 77.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.235, allocations: 149 kB / 0.8796 GB, free: 77.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/1.239, allocations: 2.74 MB / 0.8823 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008997/1.24, allocations: 90.72 kB / 0.8824 GB, free: 75.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.241, allocations: 2.008 MB / 0.8843 GB, free: 74.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.242, allocations: 1.3 MB / 0.8856 GB, free: 73.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.242, allocations: 72 kB / 0.8857 GB, free: 73.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.242, allocations: 455.8 kB / 0.8861 GB, free: 73.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.247, allocations: 2.666 MB / 0.8887 GB, free: 70.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004732/1.252, allocations: 3.248 MB / 0.8919 GB, free: 67.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/1.256, allocations: 2.924 MB / 0.8947 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.257, allocations: 4 kB / 0.8948 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05068/1.307, allocations: 20.2 MB / 0.9145 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/1.307, allocations: 63.41 kB / 0.9145 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.307, allocations: 16 kB / 0.9146 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/1.332, allocations: 8.548 MB / 0.9229 GB, free: 36.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/1.335, allocations: 0.5722 MB / 0.9235 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07544/1.41, allocations: 37.06 MB / 0.9597 GB, free: 14.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.416, allocations: 0.7035 MB / 0.9603 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/1.417, allocations: 136 kB / 0.9605 GB, free: 13.79 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002658/1.419, allocations: 0.6564 MB / 0.9611 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/1.421, allocations: 458.3 kB / 0.9615 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05424/1.475, allocations: 20.57 MB / 0.9816 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/1.475, allocations: 40 kB / 0.9817 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/1.475, allocations: 28 kB / 0.9817 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.97e-05/1.475, allocations: 27.88 kB / 0.9817 GB, free: 7.988 MB / 0.5886 GB 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.2809/1.756, allocations: 25.53 MB / 1.007 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.756, allocations: 0 / 1.007 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.758, allocations: 394.4 kB / 1.007 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02453/1.783, allocations: 8.598 MB / 1.015 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/1.784, allocations: 70.75 kB / 1.015 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07136/1.855, allocations: 34.43 MB / 1.049 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.855, allocations: 0 / 1.049 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05671/1.912, allocations: 24.25 MB / 1.073 GB, free: 99.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.914, allocations: 0.5634 MB / 1.073 GB, free: 99.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000787/1.914, allocations: 72.09 kB / 1.073 GB, free: 99.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003699/1.918, allocations: 495.7 kB / 1.074 GB, free: 99.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002751/1.921, allocations: 0.7795 MB / 1.075 GB, free: 98.99 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/1.921, allocations: 99.2 kB / 1.075 GB, free: 98.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002431/1.924, allocations: 2.101 MB / 1.077 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/1.924, allocations: 0 / 1.077 GB, free: 98.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004416/1.928, allocations: 1.764 MB / 1.079 GB, free: 97.99 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005258/1.928, allocations: 214.9 kB / 1.079 GB, free: 97.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0213/1.95, allocations: 9.968 MB / 1.088 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/1.95, allocations: 0.5 kB / 1.088 GB, free: 94.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0172/1.967, allocations: 7.033 MB / 1.095 GB, free: 92.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.97, allocations: 312.6 kB / 1.096 GB, free: 92.42 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.981, allocations: 9.758 MB / 1.105 GB, free: 85.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.983, allocations: 2.536 MB / 1.108 GB, free: 83.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001458/1.984, allocations: 303.1 kB / 1.108 GB, free: 83.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.985, allocations: 205.7 kB / 1.108 GB, free: 82.92 MB / 0.5886 GB Notification: Performance of SimCode: time 1.323e-06/1.985, allocations: 0 / 1.108 GB, free: 82.92 MB / 0.5886 GB Notification: Performance of Templates: time 0.09328/2.078, allocations: 78.78 MB / 1.185 GB, free: 24.18 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)