Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00147/0.00147, 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.301/1.301, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.000863/0.000863, allocations: 88.45 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5764/0.5764, allocations: 78.12 MB / 409.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.17e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 69.36 MB / 0.5413 GB, free: 6.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.5436, allocations: 101.9 MB / 0.6408 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5439, allocations: 82.39 kB / 0.6409 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2529/0.7968, allocations: 99.61 MB / 0.7382 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7968, allocations: 0.5625 kB / 0.7382 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000432/0.7972, allocations: 87.94 kB / 0.7382 GB, free: 9.715 MB / 0.5417 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.01968/0.8169, allocations: 5.774 MB / 0.7439 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.817, allocations: 12.03 kB / 0.7439 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.835, allocations: 2.779 MB / 0.7466 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/0.8419, allocations: 2.249 MB / 0.7488 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001175/0.8432, allocations: 0.8681 MB / 0.7496 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/0.8448, allocations: 206.9 kB / 0.7498 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009726/0.8546, allocations: 3.443 MB / 0.7532 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.8653, allocations: 3.594 MB / 0.7567 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.8655, allocations: 4 kB / 0.7567 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/0.8666, allocations: 0 / 0.7567 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/0.8667, allocations: 84 kB / 0.7568 GB, free: 6.383 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 preOpt removeSimpleEquations (simulation): time 0.3267/1.193, allocations: 18.09 MB / 0.7745 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009745/1.203, allocations: 4.705 MB / 0.7791 GB, free: 85.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/1.206, allocations: 2.126 MB / 0.7811 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/1.207, allocations: 71.17 kB / 0.7812 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/1.21, allocations: 2.491 MB / 0.7836 GB, free: 85.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 5.931e-06/1.21, allocations: 2.938 kB / 0.7836 GB, free: 85.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05423/1.264, allocations: 17.3 MB / 0.8005 GB, free: 85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/1.265, allocations: 143.3 kB / 0.8007 GB, free: 84.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/1.269, allocations: 2.468 MB / 0.8031 GB, free: 84.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001346/1.27, allocations: 35 kB / 0.8031 GB, free: 84.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/1.272, allocations: 1.997 MB / 0.8051 GB, free: 84.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00257/1.274, allocations: 1.257 MB / 0.8063 GB, free: 83.46 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.275, allocations: 0 / 0.8063 GB, free: 83.46 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.275, allocations: 450 kB / 0.8067 GB, free: 83.15 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.278, allocations: 1.773 MB / 0.8085 GB, free: 83.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/1.281, allocations: 2.334 MB / 0.8107 GB, free: 82.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/1.285, allocations: 1.969 MB / 0.8127 GB, free: 82.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/1.285, allocations: 4.219 kB / 0.8127 GB, free: 82.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05159/1.336, allocations: 17.36 MB / 0.8296 GB, free: 81.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/1.336, allocations: 64.75 kB / 0.8297 GB, free: 81.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.336, allocations: 17.88 kB / 0.8297 GB, free: 81.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/1.359, allocations: 6.896 MB / 0.8364 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.362, allocations: 0.5712 MB / 0.837 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05208/1.414, allocations: 25.21 MB / 0.8616 GB, free: 70.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005899/1.42, allocations: 0.6359 MB / 0.8622 GB, free: 70.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007625/1.421, allocations: 133.8 kB / 0.8624 GB, free: 70.61 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.0008548/1.421, allocations: 199.6 kB / 0.8625 GB, free: 70.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.423, allocations: 463.8 kB / 0.863 GB, free: 70.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04842/1.471, allocations: 17.76 MB / 0.8803 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/1.471, allocations: 41.5 kB / 0.8804 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/1.471, allocations: 28 kB / 0.8804 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/1.471, allocations: 17.91 kB / 0.8804 GB, free: 63.04 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.05602/1.527, allocations: 22.38 MB / 0.9023 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/1.527, allocations: 0 / 0.9023 GB, free: 46.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.53, allocations: 392.5 kB / 0.9026 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02098/1.551, allocations: 6.948 MB / 0.9094 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007826/1.552, allocations: 23.52 kB / 0.9095 GB, free: 40.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04966/1.601, allocations: 24.24 MB / 0.9331 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.601, allocations: 4.625 kB / 0.9331 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05319/1.655, allocations: 20.64 MB / 0.9533 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.657, allocations: 0.5605 MB / 0.9538 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.658, allocations: 0 / 0.9538 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004961/1.663, allocations: 442 kB / 0.9543 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002746/1.666, allocations: 0.7808 MB / 0.955 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003694/1.666, allocations: 96.03 kB / 0.9551 GB, free: 456 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006305/1.673, allocations: 2.107 MB / 0.9572 GB, free: 15.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 3e-07/1.673, allocations: 0 / 0.9572 GB, free: 15.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006272/1.679, allocations: 1.595 MB / 0.9587 GB, free: 13.87 MB / 0.573 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.0007357/1.68, allocations: 160.9 kB / 0.9589 GB, free: 13.71 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0207/1.7, allocations: 7.976 MB / 0.9667 GB, free: 6.375 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.7, allocations: 0 / 0.9667 GB, free: 6.375 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01813/1.719, allocations: 5.97 MB / 0.9725 GB, free: 388 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/1.722, allocations: 245.1 kB / 0.9727 GB, free: 140 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.733, allocations: 5.832 MB / 0.9784 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/1.735, allocations: 2.544 MB / 0.9809 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001716/1.737, allocations: 299.5 kB / 0.9812 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/1.738, allocations: 199.4 kB / 0.9814 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of SimCode: time 6.82e-07/1.738, allocations: 0 / 0.9814 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of Templates: time 0.3882/2.126, allocations: 72.72 MB / 1.052 GB, free: 110.5 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)