Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.234/1.234, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008994/0.0008996, allocations: 102.6 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4671/0.4671, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.953e-05, allocations: 0 / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3839, allocations: 69.51 MB / 0.5491 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5552, allocations: 98.33 MB / 0.6451 GB, free: 1.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5555, allocations: 75.97 kB / 0.6452 GB, free: 1.195 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4166/0.9722, allocations: 33.36 MB / 0.6778 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9722, allocations: 0 / 0.6778 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001142/0.9723, allocations: 19.84 kB / 0.6778 GB, free: 106.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004481/0.9768, allocations: 1.566 MB / 0.6793 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.9769, allocations: 9.719 kB / 0.6794 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.9806, allocations: 0.5517 MB / 0.6799 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.982, allocations: 0.7054 MB / 0.6806 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.9823, allocations: 265.5 kB / 0.6808 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.9824, allocations: 67.88 kB / 0.6809 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.9843, allocations: 0.997 MB / 0.6819 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9843, allocations: 3.953 kB / 0.6819 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.9844, allocations: 30.5 kB / 0.6819 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.9844, allocations: 17.73 kB / 0.6819 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.9859, allocations: 0.7914 MB / 0.6827 GB, free: 104.9 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006023/0.9919, allocations: 3.555 MB / 0.6862 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.9989, allocations: 2.562 MB / 0.6887 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.9996, allocations: 0.5225 MB / 0.6892 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.9998, allocations: 14.8 kB / 0.6892 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.9998, allocations: 50.75 kB / 0.6892 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.526e-06/0.9998, allocations: 7.562 kB / 0.6892 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.011/1.011, allocations: 3.908 MB / 0.6931 GB, free: 103 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/1.011, allocations: 99.52 kB / 0.6932 GB, free: 102.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.012, allocations: 0.7896 MB / 0.6939 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/1.012, allocations: 39.83 kB / 0.694 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.012, allocations: 485.2 kB / 0.6944 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.013, allocations: 303.4 kB / 0.6947 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/1.013, allocations: 19.94 kB / 0.6947 GB, free: 102.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/1.013, allocations: 336.4 kB / 0.6951 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/1.013, allocations: 394.5 kB / 0.6954 GB, free: 101.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/1.014, allocations: 0.5568 MB / 0.696 GB, free: 101.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/1.015, allocations: 453.6 kB / 0.6964 GB, free: 101 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.015, allocations: 3.469 kB / 0.6964 GB, free: 101 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01081/1.025, allocations: 3.913 MB / 0.7002 GB, free: 100.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.025, allocations: 6.719 kB / 0.7002 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.025, allocations: 7.25 kB / 0.7003 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.03, allocations: 1.461 MB / 0.7017 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.031, allocations: 149.1 kB / 0.7018 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.042, allocations: 6.544 MB / 0.7082 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.044, allocations: 172.5 kB / 0.7084 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.044, allocations: 35.75 kB / 0.7084 GB, free: 95 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002307/1.044, allocations: 169.2 kB / 0.7086 GB, free: 94.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007865/1.045, allocations: 317.5 kB / 0.7089 GB, free: 94.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.056, allocations: 3.85 MB / 0.7126 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/1.056, allocations: 8 kB / 0.7126 GB, free: 91.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.056, allocations: 8 kB / 0.7126 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/1.056, allocations: 6.516 kB / 0.7127 GB, free: 91.56 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01227/1.068, allocations: 5.241 MB / 0.7178 GB, free: 87.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.068, allocations: 4 kB / 0.7178 GB, free: 87.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/1.069, allocations: 103.4 kB / 0.7179 GB, free: 87.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008031/1.077, allocations: 1.47 MB / 0.7193 GB, free: 86.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.077, allocations: 19.56 kB / 0.7193 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.099, allocations: 8.84 MB / 0.728 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.099, allocations: 0 / 0.728 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02303/1.123, allocations: 4.711 MB / 0.7326 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/1.123, allocations: 207.5 kB / 0.7328 GB, free: 72.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/1.124, allocations: 16 kB / 0.7328 GB, free: 72.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.126, allocations: 119.9 kB / 0.7329 GB, free: 72.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008335/1.127, allocations: 180.4 kB / 0.7331 GB, free: 72.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.127, allocations: 24 kB / 0.7331 GB, free: 72.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001382/1.128, allocations: 0.6208 MB / 0.7337 GB, free: 71.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.128, allocations: 0 / 0.7337 GB, free: 71.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002148/1.13, allocations: 399.5 kB / 0.7341 GB, free: 71.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/1.131, allocations: 152.9 kB / 0.7342 GB, free: 71.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006278/1.137, allocations: 1.831 MB / 0.736 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.137, allocations: 4.062 kB / 0.736 GB, free: 69.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.141, allocations: 1.323 MB / 0.7373 GB, free: 68.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.142, allocations: 346.9 kB / 0.7376 GB, free: 67.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/1.146, allocations: 1.556 MB / 0.7392 GB, free: 66.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/1.146, allocations: 1.1 MB / 0.7402 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003476/1.147, allocations: 81.97 kB / 0.7403 GB, free: 65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/1.147, allocations: 63.42 kB / 0.7404 GB, free: 64.94 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.147, allocations: 0 / 0.7404 GB, free: 64.94 MB / 490.7 MB Notification: Performance of Templates: time 0.02629/1.173, allocations: 18.36 MB / 0.7583 GB, free: 46.73 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)