Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.004568/0.004568, allocations: 170.7 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.179/1.179, allocations: 223.2 MB / 239 MB, free: 1.77 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.0008454/0.0008454, allocations: 92.27 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4198/0.4198, allocations: 79.43 MB / 420.8 MB, free: 43.77 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 12 kB / 0.489 GB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3062, allocations: 69.5 MB / 0.5569 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4212, allocations: 103.3 MB / 0.6578 GB, free: 2.273 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4215, allocations: 86.03 kB / 0.6579 GB, free: 2.191 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2485/0.67, allocations: 103.1 MB / 0.7586 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.67, allocations: 0 / 0.7586 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003255/0.6703, allocations: 91.88 kB / 0.7587 GB, free: 10.32 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.01977/0.6901, allocations: 6.652 MB / 0.7652 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6902, allocations: 8.031 kB / 0.7652 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/0.7072, allocations: 2.807 MB / 0.7679 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2407/0.9479, allocations: 2.289 MB / 0.7702 GB, free: 88.67 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008377/0.9488, allocations: 0.9887 MB / 0.7711 GB, free: 87.97 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009038/0.9497, allocations: 347 kB / 0.7715 GB, free: 87.97 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009584/0.9593, allocations: 4.948 MB / 0.7763 GB, free: 87.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.417e-05/0.9594, allocations: 0 / 0.7763 GB, free: 87.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/0.9597, allocations: 140.3 kB / 0.7764 GB, free: 87.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.9598, allocations: 87.12 kB / 0.7765 GB, free: 87.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00756/0.9674, allocations: 4.501 MB / 0.7809 GB, free: 87.76 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.0285/0.9959, allocations: 18.64 MB / 0.7991 GB, free: 81.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.007, allocations: 5.675 MB / 0.8046 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/1.008, allocations: 77.27 kB / 0.8047 GB, free: 80.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005923/1.014, allocations: 3.437 MB / 0.8081 GB, free: 80.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 5.15e-06/1.014, allocations: 0 / 0.8081 GB, free: 80.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.2757/1.289, allocations: 77 MB / 0.8833 GB, free: 73.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.289, allocations: 145.8 kB / 0.8834 GB, free: 73.39 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003655/1.293, allocations: 2.749 MB / 0.8861 GB, free: 71.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005166/1.294, allocations: 88.36 kB / 0.8862 GB, free: 70.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/1.295, allocations: 2.006 MB / 0.8881 GB, free: 69.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.296, allocations: 1.305 MB / 0.8894 GB, free: 68.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/1.296, allocations: 76 kB / 0.8895 GB, free: 67.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.296, allocations: 439.5 kB / 0.8899 GB, free: 67.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004421/1.3, allocations: 2.671 MB / 0.8925 GB, free: 65.26 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/1.305, allocations: 3.246 MB / 0.8957 GB, free: 62.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/1.31, allocations: 2.929 MB / 0.8985 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.31, allocations: 7.188 kB / 0.8985 GB, free: 59.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.04938/1.359, allocations: 20.19 MB / 0.9183 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/1.359, allocations: 63.41 kB / 0.9183 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.359, allocations: 19.95 kB / 0.9183 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02287/1.382, allocations: 8.555 MB / 0.9267 GB, free: 30.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/1.385, allocations: 0.5662 MB / 0.9273 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07402/1.459, allocations: 37.06 MB / 0.9634 GB, free: 9.113 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/1.464, allocations: 0.7269 MB / 0.9641 GB, free: 8.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.464, allocations: 128 kB / 0.9643 GB, free: 8.258 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.001728/1.466, allocations: 0.6677 MB / 0.9649 GB, free: 7.582 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007192/1.467, allocations: 458.3 kB / 0.9654 GB, free: 7.129 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05489/1.522, allocations: 20.57 MB / 0.9854 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/1.522, allocations: 36 kB / 0.9855 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.522, allocations: 28 kB / 0.9855 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/1.522, allocations: 15.94 kB / 0.9855 GB, free: 2.406 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.283/1.805, allocations: 25.54 MB / 1.01 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.805, allocations: 6.281 kB / 1.01 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.807, allocations: 388.8 kB / 1.011 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02454/1.832, allocations: 8.596 MB / 1.019 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005274/1.832, allocations: 74.52 kB / 1.019 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07117/1.904, allocations: 34.43 MB / 1.053 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.904, allocations: 0 / 1.053 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0574/1.961, allocations: 24.25 MB / 1.077 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.963, allocations: 0.5584 MB / 1.077 GB, free: 94.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000681/1.963, allocations: 70.56 kB / 1.077 GB, free: 94.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/1.967, allocations: 0.5064 MB / 1.078 GB, free: 94.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00287/1.97, allocations: 0.7777 MB / 1.078 GB, free: 94.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/1.971, allocations: 97.89 kB / 1.079 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00264/1.973, allocations: 2.102 MB / 1.081 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.973, allocations: 4 kB / 1.081 GB, free: 93.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004152/1.977, allocations: 1.764 MB / 1.082 GB, free: 93.41 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.0004996/1.978, allocations: 212.6 kB / 1.083 GB, free: 93.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02199/2, allocations: 9.975 MB / 1.092 GB, free: 90.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2, allocations: 0 / 1.092 GB, free: 90.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01663/2.017, allocations: 7.026 MB / 1.099 GB, free: 87.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/2.019, allocations: 317.9 kB / 1.099 GB, free: 87.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/2.03, allocations: 9.753 MB / 1.109 GB, free: 78.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/2.031, allocations: 2.542 MB / 1.111 GB, free: 76.58 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001232/2.033, allocations: 312.4 kB / 1.112 GB, free: 76.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/2.033, allocations: 197.9 kB / 1.112 GB, free: 76.2 MB / 0.5886 GB Notification: Performance of SimCode: time 5.82e-07/2.033, allocations: 3.938 kB / 1.112 GB, free: 76.19 MB / 0.5886 GB Notification: Performance of Templates: time 0.09165/2.125, allocations: 78.87 MB / 1.189 GB, free: 16.7 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)