Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001252/0.001252, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.348/1.348, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.000873/0.000873, allocations: 93.62 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4546/0.4546, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.418e-05, allocations: 4 kB / 484.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 69.36 MB / 0.5413 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5466, allocations: 101.9 MB / 0.6408 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5469, allocations: 79.95 kB / 0.6408 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2563/0.8032, allocations: 99.63 MB / 0.7381 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8033, allocations: 4.938 kB / 0.7381 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004779/0.8037, allocations: 84 kB / 0.7382 GB, free: 9.551 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.01988/0.8236, allocations: 5.774 MB / 0.7438 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8237, allocations: 8.031 kB / 0.7439 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.841, allocations: 2.779 MB / 0.7466 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006539/0.8475, allocations: 2.249 MB / 0.7488 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/0.8487, allocations: 0.8674 MB / 0.7496 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.8502, allocations: 204 kB / 0.7498 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00861/0.8589, allocations: 3.439 MB / 0.7532 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.8692, allocations: 3.602 MB / 0.7567 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.8693, allocations: 0.75 kB / 0.7567 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008925/0.8702, allocations: 0 / 0.7567 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.775e-05/0.8703, allocations: 84 kB / 0.7568 GB, free: 6.223 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.3707/1.241, allocations: 18.09 MB / 0.7744 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/1.252, allocations: 4.702 MB / 0.779 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004158/1.256, allocations: 2.121 MB / 0.7811 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008093/1.257, allocations: 75.94 kB / 0.7812 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00537/1.262, allocations: 2.492 MB / 0.7836 GB, free: 85.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 9.678e-06/1.262, allocations: 0 / 0.7836 GB, free: 85.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05521/1.317, allocations: 17.3 MB / 0.8005 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/1.318, allocations: 151.6 kB / 0.8006 GB, free: 84.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/1.324, allocations: 2.466 MB / 0.8031 GB, free: 84.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009926/1.325, allocations: 27.3 kB / 0.8031 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.326, allocations: 1.999 MB / 0.805 GB, free: 84.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002389/1.329, allocations: 1.257 MB / 0.8063 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.33, allocations: 4.031 kB / 0.8063 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000345/1.33, allocations: 445.1 kB / 0.8067 GB, free: 83.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/1.334, allocations: 1.775 MB / 0.8084 GB, free: 83.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004203/1.338, allocations: 2.332 MB / 0.8107 GB, free: 82.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004066/1.342, allocations: 1.974 MB / 0.8126 GB, free: 82.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-05/1.342, allocations: 5.469 kB / 0.8126 GB, free: 82.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05251/1.395, allocations: 17.35 MB / 0.8296 GB, free: 81.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.395, allocations: 67.05 kB / 0.8296 GB, free: 81.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.175e-05/1.395, allocations: 16.23 kB / 0.8297 GB, free: 81.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02229/1.417, allocations: 6.896 MB / 0.8364 GB, free: 80.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/1.42, allocations: 0.5758 MB / 0.837 GB, free: 80.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0593/1.48, allocations: 25.21 MB / 0.8616 GB, free: 70.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/1.486, allocations: 0.6274 MB / 0.8622 GB, free: 70.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009441/1.487, allocations: 135.3 kB / 0.8623 GB, free: 70.55 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.001548/1.488, allocations: 206.7 kB / 0.8625 GB, free: 70.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.49, allocations: 462.7 kB / 0.8629 GB, free: 70.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04967/1.54, allocations: 17.76 MB / 0.8803 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-05/1.54, allocations: 36 kB / 0.8803 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/1.54, allocations: 29.75 kB / 0.8804 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/1.54, allocations: 22.66 kB / 0.8804 GB, free: 62.86 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.05851/1.598, allocations: 22.38 MB / 0.9022 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/1.598, allocations: 0 / 0.9022 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.601, allocations: 394.4 kB / 0.9026 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02185/1.623, allocations: 6.943 MB / 0.9094 GB, free: 40.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001876/1.625, allocations: 19.47 kB / 0.9094 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05539/1.68, allocations: 24.25 MB / 0.9331 GB, free: 18.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/1.68, allocations: 1 kB / 0.9331 GB, free: 18.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05697/1.737, allocations: 20.64 MB / 0.9532 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.739, allocations: 0.5607 MB / 0.9538 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/1.741, allocations: 12.5 kB / 0.9538 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006125/1.748, allocations: 435.9 kB / 0.9542 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00425/1.752, allocations: 0.7851 MB / 0.955 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001074/1.753, allocations: 98.05 kB / 0.9551 GB, free: 264 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008861/1.762, allocations: 2.185 MB / 0.9572 GB, free: 15.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.32e-07/1.762, allocations: 0 / 0.9572 GB, free: 15.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01055/1.772, allocations: 1.588 MB / 0.9588 GB, free: 13.88 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.001245/1.774, allocations: 163.4 kB / 0.9589 GB, free: 13.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02382/1.798, allocations: 7.975 MB / 0.9667 GB, free: 6.191 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.798, allocations: 4.062 kB / 0.9667 GB, free: 6.188 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01939/1.817, allocations: 5.962 MB / 0.9725 GB, free: 204 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/1.821, allocations: 245.6 kB / 0.9728 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.836, allocations: 5.837 MB / 0.9785 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/1.839, allocations: 2.542 MB / 0.981 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002071/1.841, allocations: 294.7 kB / 0.9812 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.842, allocations: 199.4 kB / 0.9814 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/1.842, allocations: 0 / 0.9814 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of Templates: time 0.4118/2.254, allocations: 72.73 MB / 1.052 GB, free: 110.5 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)