Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 175.2 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.235/1.235, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008278/0.0008278, allocations: 97.19 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4676/0.4676, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.394e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 69.51 MB / 0.5491 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4802, allocations: 103.4 MB / 0.6501 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.4806, allocations: 83.95 kB / 0.6502 GB, free: 12.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5276/1.008, allocations: 103.3 MB / 0.7511 GB, free: 56.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.532e-06/1.008, allocations: 0 / 0.7511 GB, free: 56.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004844/1.009, allocations: 87.94 kB / 0.7512 GB, free: 56.29 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0192/1.028, allocations: 5.805 MB / 0.7569 GB, free: 50.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.028, allocations: 11.97 kB / 0.7569 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/1.046, allocations: 2.783 MB / 0.7596 GB, free: 47.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007208/1.053, allocations: 2.265 MB / 0.7618 GB, free: 45.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/1.054, allocations: 0.9925 MB / 0.7628 GB, free: 44.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/1.056, allocations: 347.9 kB / 0.7631 GB, free: 43.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.069, allocations: 4.1 MB / 0.7671 GB, free: 39.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/1.069, allocations: 3.938 kB / 0.7671 GB, free: 39.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/1.07, allocations: 148 kB / 0.7672 GB, free: 39.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/1.07, allocations: 84 kB / 0.7673 GB, free: 39.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008752/1.079, allocations: 3.632 MB / 0.7709 GB, free: 35.8 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.03913/1.118, allocations: 18.68 MB / 0.7891 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.129, allocations: 4.841 MB / 0.7938 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/1.133, allocations: 2.239 MB / 0.796 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/1.134, allocations: 70.92 kB / 0.7961 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005474/1.14, allocations: 2.629 MB / 0.7987 GB, free: 6.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 7.865e-06/1.14, allocations: 0 / 0.7987 GB, free: 6.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05508/1.195, allocations: 17.61 MB / 0.8159 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/1.195, allocations: 145.8 kB / 0.816 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/1.201, allocations: 2.694 MB / 0.8186 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009798/1.202, allocations: 89.7 kB / 0.8187 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.203, allocations: 2.006 MB / 0.8207 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.205, allocations: 1.309 MB / 0.822 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/1.206, allocations: 76 kB / 0.822 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.207, allocations: 449.6 kB / 0.8225 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/1.211, allocations: 1.855 MB / 0.8243 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/1.215, allocations: 2.43 MB / 0.8266 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/1.219, allocations: 2.112 MB / 0.8287 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/1.219, allocations: 4 kB / 0.8287 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05605/1.275, allocations: 17.85 MB / 0.8461 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/1.275, allocations: 65.28 kB / 0.8462 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/1.275, allocations: 16 kB / 0.8462 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02465/1.3, allocations: 7.056 MB / 0.8531 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/1.303, allocations: 0.5538 MB / 0.8536 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1002/1.403, allocations: 27.12 MB / 0.8801 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009059/1.413, allocations: 0.7229 MB / 0.8808 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/1.414, allocations: 143.9 kB / 0.881 GB, free: 0.9609 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002383/1.416, allocations: 327.1 kB / 0.8813 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002598/1.419, allocations: 458.4 kB / 0.8817 GB, free: 176 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5465/1.966, allocations: 18.17 MB / 0.8995 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/1.966, allocations: 34 kB / 0.8995 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.97e-05/1.966, allocations: 31.94 kB / 0.8995 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/1.966, allocations: 17.41 kB / 0.8995 GB, free: 133 MB / 0.573 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.06424/2.03, allocations: 23.18 MB / 0.9222 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/2.03, allocations: 3.516 kB / 0.9222 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/2.033, allocations: 388 kB / 0.9226 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02191/2.055, allocations: 7.029 MB / 0.9294 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.056, allocations: 68.52 kB / 0.9295 GB, free: 132.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0594/2.115, allocations: 24.51 MB / 0.9534 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.115, allocations: 3.844 kB / 0.9534 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0598/2.175, allocations: 21.03 MB / 0.974 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/2.178, allocations: 0.5635 MB / 0.9745 GB, free: 114.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002572/2.18, allocations: 68 kB / 0.9746 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006294/2.186, allocations: 0.5067 MB / 0.9751 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004215/2.191, allocations: 0.7826 MB / 0.9758 GB, free: 113.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001055/2.192, allocations: 95.75 kB / 0.9759 GB, free: 113.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004422/2.196, allocations: 2.048 MB / 0.9779 GB, free: 111.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/2.196, allocations: 0 / 0.9779 GB, free: 111.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008672/2.205, allocations: 1.768 MB / 0.9797 GB, free: 109.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/2.206, allocations: 228.7 kB / 0.9799 GB, free: 109.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02253/2.229, allocations: 8.396 MB / 0.9881 GB, free: 102 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/2.229, allocations: 0 / 0.9881 GB, free: 102 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01958/2.248, allocations: 6.14 MB / 0.9941 GB, free: 96.61 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/2.253, allocations: 313.7 kB / 0.9944 GB, free: 96.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/2.269, allocations: 6.079 MB / 1 GB, free: 90.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/2.272, allocations: 2.548 MB / 1.003 GB, free: 88.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001762/2.273, allocations: 298.9 kB / 1.003 GB, free: 88.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/2.274, allocations: 201.3 kB / 1.003 GB, free: 88.49 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/2.274, allocations: 0 / 1.003 GB, free: 88.49 MB / 0.573 GB Notification: Performance of Templates: time 0.1088/2.383, allocations: 79 MB / 1.08 GB, free: 21.49 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)