Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0008637/0.0008637, allocations: 96.06 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4454/0.4454, allocations: 78.12 MB / 409.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.461e-05, allocations: 7.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 69.36 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4945, allocations: 99.97 MB / 0.639 GB, free: 15.76 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4947, allocations: 78.62 kB / 0.639 GB, free: 15.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1796/0.6743, allocations: 69.26 MB / 0.7067 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6744, allocations: 0 / 0.7067 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001811/0.6745, allocations: 59.94 kB / 0.7067 GB, free: 10.25 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01296/0.6875, allocations: 4.061 MB / 0.7107 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6876, allocations: 8.031 kB / 0.7107 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.6981, allocations: 1.601 MB / 0.7123 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.7023, allocations: 1.651 MB / 0.7139 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008014/0.7031, allocations: 0.6705 MB / 0.7145 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000761/0.7039, allocations: 131.9 kB / 0.7147 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005226/0.7092, allocations: 2.223 MB / 0.7168 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006367/0.7155, allocations: 2.29 MB / 0.7191 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.7156, allocations: 0 / 0.7191 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003667/0.716, allocations: 3.953 kB / 0.7191 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.716, allocations: 48 kB / 0.7191 GB, free: 13.22 MB / 0.5261 GB 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.01982/0.7359, allocations: 9.632 MB / 0.7285 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009795/0.7457, allocations: 4.107 MB / 0.7325 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/0.7484, allocations: 1.474 MB / 0.734 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.7488, allocations: 49.95 kB / 0.734 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003179/0.7519, allocations: 1.729 MB / 0.7357 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 6.553e-06/0.752, allocations: 0 / 0.7357 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03759/0.7896, allocations: 12.34 MB / 0.7478 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.7897, allocations: 192.2 kB / 0.7479 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.7931, allocations: 1.725 MB / 0.7496 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005859/0.7937, allocations: 30.62 kB / 0.7497 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.7948, allocations: 1.207 MB / 0.7508 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.7962, allocations: 0.8313 MB / 0.7516 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/0.7967, allocations: 0 / 0.7516 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.7969, allocations: 395 kB / 0.752 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.799, allocations: 1.22 MB / 0.7532 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.8012, allocations: 1.518 MB / 0.7547 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.8034, allocations: 1.336 MB / 0.756 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.8034, allocations: 0 / 0.756 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.3047/1.108, allocations: 12.29 MB / 0.768 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/1.108, allocations: 114 kB / 0.7681 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.108, allocations: 14.09 kB / 0.7681 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01542/1.124, allocations: 4.994 MB / 0.773 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.126, allocations: 433.2 kB / 0.7734 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03774/1.164, allocations: 17.54 MB / 0.7905 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.168, allocations: 498.7 kB / 0.791 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/1.168, allocations: 90.92 kB / 0.7911 GB, free: 111.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006408/1.169, allocations: 211.4 kB / 0.7913 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/1.17, allocations: 298.2 kB / 0.7916 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/1.209, allocations: 12.63 MB / 0.8039 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/1.209, allocations: 25.97 kB / 0.804 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.958e-05/1.209, allocations: 18.5 kB / 0.804 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.468e-05/1.209, allocations: 17.12 kB / 0.804 GB, free: 110.7 MB / 0.5573 GB 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.03953/1.249, allocations: 15.97 MB / 0.8196 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.249, allocations: 4.625 kB / 0.8196 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.25, allocations: 248.3 kB / 0.8198 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/1.265, allocations: 4.998 MB / 0.8247 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005598/1.265, allocations: 19.28 kB / 0.8247 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03448/1.3, allocations: 18.97 MB / 0.8433 GB, free: 99.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.3, allocations: 0 / 0.8433 GB, free: 99.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03645/1.336, allocations: 14.62 MB / 0.8575 GB, free: 95.26 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/1.337, allocations: 414.2 kB / 0.8579 GB, free: 94.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005726/1.338, allocations: 11.94 kB / 0.8579 GB, free: 94.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/1.341, allocations: 375.4 kB / 0.8583 GB, free: 94.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001776/1.343, allocations: 0.5778 MB / 0.8589 GB, free: 94.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.343, allocations: 66.84 kB / 0.8589 GB, free: 94.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001586/1.344, allocations: 1.289 MB / 0.8602 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.344, allocations: 0 / 0.8602 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003049/1.347, allocations: 1.006 MB / 0.8612 GB, free: 92.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004094/1.348, allocations: 161.3 kB / 0.8613 GB, free: 92.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.361, allocations: 5.602 MB / 0.8668 GB, free: 87.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.361, allocations: 0 / 0.8668 GB, free: 87.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.372, allocations: 4.306 MB / 0.871 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/1.374, allocations: 188.4 kB / 0.8712 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/1.381, allocations: 4.078 MB / 0.8752 GB, free: 79.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.382, allocations: 1.871 MB / 0.877 GB, free: 78.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009627/1.383, allocations: 214.3 kB / 0.8772 GB, free: 78.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/1.383, allocations: 139.1 kB / 0.8773 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.001e-06/1.383, allocations: 0 / 0.8773 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.06604/1.449, allocations: 51.35 MB / 0.9275 GB, free: 37.41 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)