Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001635, allocations: 169.5 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 86.7 kB / 261.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06426/0.06426, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4301/0.4301, allocations: 78.05 MB / 450.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.242e-05, allocations: 2.906 kB / 0.5147 GB, free: 41.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 69.33 MB / 0.5824 GB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.2244, allocations: 103.5 MB / 0.6835 GB, free: 8.695 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.2246, allocations: 87.94 kB / 0.6836 GB, free: 8.609 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4713/0.696, allocations: 96.52 MB / 0.7778 GB, free: 32.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.696, allocations: 0 / 0.7778 GB, free: 32.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003009/0.6963, allocations: 91.88 kB / 0.7779 GB, free: 32.79 MB / 474.7 MB 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.01648/0.7128, allocations: 5.759 MB / 0.7835 GB, free: 26.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7129, allocations: 12.03 kB / 0.7835 GB, free: 26.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.7292, allocations: 2.779 MB / 0.7863 GB, free: 24.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.7343, allocations: 2.261 MB / 0.7885 GB, free: 21.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007895/0.7351, allocations: 0.8597 MB / 0.7893 GB, free: 20.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.7364, allocations: 203.9 kB / 0.7895 GB, free: 20.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008823/0.7453, allocations: 3.447 MB / 0.7929 GB, free: 17.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00817/0.7535, allocations: 3.598 MB / 0.7964 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.114e-05/0.7536, allocations: 0 / 0.7964 GB, free: 13.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/0.7542, allocations: 4 kB / 0.7964 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.7542, allocations: 84 kB / 0.7965 GB, free: 13.46 MB / 474.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.03338/0.7876, allocations: 18.1 MB / 0.8141 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.7982, allocations: 4.702 MB / 0.8187 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/0.8021, allocations: 2.124 MB / 0.8208 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/0.8027, allocations: 74.92 kB / 0.8209 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005011/0.8077, allocations: 2.493 MB / 0.8233 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=384): time 7.103e-06/0.8078, allocations: 0 / 0.8233 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of matching and sorting (n=384): time 0.05372/0.8615, allocations: 17.32 MB / 0.8402 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.8616, allocations: 141.8 kB / 0.8404 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/0.8669, allocations: 2.468 MB / 0.8428 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008589/0.8677, allocations: 25.7 kB / 0.8428 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.8695, allocations: 1.998 MB / 0.8447 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/0.8715, allocations: 1.258 MB / 0.846 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007033/0.8722, allocations: 0 / 0.846 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003065/0.8725, allocations: 441.8 kB / 0.8464 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/0.8761, allocations: 1.777 MB / 0.8481 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/0.88, allocations: 2.33 MB / 0.8504 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/0.8837, allocations: 1.972 MB / 0.8523 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.8837, allocations: 4 kB / 0.8523 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05288/0.9366, allocations: 17.35 MB / 0.8693 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.9368, allocations: 71.33 kB / 0.8693 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/0.9368, allocations: 20 kB / 0.8694 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/0.9602, allocations: 6.895 MB / 0.8761 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.9635, allocations: 0.5695 MB / 0.8766 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0604/1.024, allocations: 25.22 MB / 0.9013 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2752/1.299, allocations: 0.623 MB / 0.9019 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006141/1.3, allocations: 131.2 kB / 0.902 GB, free: 111.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "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 () * 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.0007905/1.301, allocations: 204.1 kB / 0.9022 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/1.301, allocations: 456.9 kB / 0.9026 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04932/1.351, allocations: 17.76 MB / 0.92 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.351, allocations: 45.34 kB / 0.92 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.351, allocations: 30.73 kB / 0.9201 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.621e-05/1.351, allocations: 17.44 kB / 0.9201 GB, free: 111 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.05344/1.404, allocations: 22.37 MB / 0.9419 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.404, allocations: 0 / 0.9419 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.407, allocations: 393.2 kB / 0.9423 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02053/1.427, allocations: 6.956 MB / 0.9491 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008121/1.428, allocations: 18.89 kB / 0.9491 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04654/1.475, allocations: 24.24 MB / 0.9728 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.475, allocations: 7.516 kB / 0.9728 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05008/1.525, allocations: 20.63 MB / 0.9929 GB, free: 87.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.526, allocations: 0.5638 MB / 0.9935 GB, free: 87.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/1.527, allocations: 8 kB / 0.9935 GB, free: 87.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003961/1.531, allocations: 437.5 kB / 0.9939 GB, free: 86.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002441/1.533, allocations: 0.7778 MB / 0.9947 GB, free: 86.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.534, allocations: 97.73 kB / 0.9948 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002079/1.536, allocations: 1.834 MB / 0.9966 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.72e-07/1.536, allocations: 3.375 kB / 0.9966 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00384/1.54, allocations: 1.603 MB / 0.9981 GB, free: 83.05 MB / 0.5573 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 () * 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.0004552/1.54, allocations: 145.1 kB / 0.9983 GB, free: 82.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.558, allocations: 7.978 MB / 1.006 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.558, allocations: 0 / 1.006 GB, free: 75.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/1.573, allocations: 5.97 MB / 1.012 GB, free: 70.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.575, allocations: 237.5 kB / 1.012 GB, free: 70.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/1.584, allocations: 5.837 MB / 1.018 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.586, allocations: 2.546 MB / 1.02 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001383/1.587, allocations: 297 kB / 1.021 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/1.588, allocations: 198.2 kB / 1.021 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/1.588, allocations: 3.938 kB / 1.021 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.08716/1.675, allocations: 72.73 MB / 1.092 GB, free: 0.668 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)