Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00501/0.00501, allocations: 170.7 kB / 15.11 MB, free: 5.973 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.352/1.352, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001029, allocations: 99.58 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4823/0.4823, allocations: 78.59 MB / 419.9 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 12 kB / 499.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 69.35 MB / 0.5558 GB, free: 1.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.5108, allocations: 102.2 MB / 0.6556 GB, free: 128 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.511, allocations: 79.06 kB / 0.6557 GB, free: 84 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2561/0.7671, allocations: 100.3 MB / 0.7536 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7672, allocations: 0 / 0.7536 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005609/0.7678, allocations: 87.94 kB / 0.7537 GB, free: 11.69 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02477/0.7925, allocations: 6.555 MB / 0.7601 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7926, allocations: 8.031 kB / 0.7601 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0175/0.8101, allocations: 2.811 MB / 0.7629 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008441/0.8186, allocations: 2.309 MB / 0.7651 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/0.8201, allocations: 0.9963 MB / 0.7661 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.8222, allocations: 340 kB / 0.7664 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.8374, allocations: 4.934 MB / 0.7713 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.249e-05/0.8375, allocations: 3.984 kB / 0.7713 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004433/0.838, allocations: 140 kB / 0.7714 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.8381, allocations: 84 kB / 0.7715 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.8491, allocations: 4.486 MB / 0.7759 GB, free: 4.684 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.03732/0.8865, allocations: 18.59 MB / 0.794 GB, free: 0.9141 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3012/1.188, allocations: 5.663 MB / 0.7995 GB, free: 96.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008129/1.189, allocations: 72.84 kB / 0.7996 GB, free: 96.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007684/1.196, allocations: 3.419 MB / 0.8029 GB, free: 96.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=383): time 6.872e-06/1.196, allocations: 0 / 0.8029 GB, free: 96.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=383): time 0.2961/1.492, allocations: 79.48 MB / 0.8806 GB, free: 93.02 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.578e-05/1.493, allocations: 151.2 kB / 0.8807 GB, free: 92.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/1.497, allocations: 2.7 MB / 0.8833 GB, free: 92.62 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.498, allocations: 87.08 kB / 0.8834 GB, free: 92.59 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.5, allocations: 2.004 MB / 0.8854 GB, free: 92.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002064/1.502, allocations: 1.294 MB / 0.8866 GB, free: 91.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.502, allocations: 75.19 kB / 0.8867 GB, free: 91.54 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.502, allocations: 447.7 kB / 0.8871 GB, free: 91.23 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005142/1.507, allocations: 2.656 MB / 0.8897 GB, free: 91.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005541/1.513, allocations: 3.243 MB / 0.8929 GB, free: 90.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005303/1.518, allocations: 2.908 MB / 0.8957 GB, free: 90.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.518, allocations: 3.844 kB / 0.8957 GB, free: 90.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.0534/1.572, allocations: 20.17 MB / 0.9154 GB, free: 82.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/1.572, allocations: 67.36 kB / 0.9155 GB, free: 81.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.572, allocations: 13.97 kB / 0.9155 GB, free: 81.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02566/1.598, allocations: 8.557 MB / 0.9239 GB, free: 75.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.601, allocations: 0.5533 MB / 0.9244 GB, free: 75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07962/1.68, allocations: 37.07 MB / 0.9606 GB, free: 39.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005963/1.686, allocations: 0.6961 MB / 0.9613 GB, free: 39.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008688/1.687, allocations: 136 kB / 0.9614 GB, free: 39.15 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis 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 (331): * Single equations (assignments): 328 * 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.002325/1.689, allocations: 0.6588 MB / 0.9621 GB, free: 38.53 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.691, allocations: 458.3 kB / 0.9625 GB, free: 38.07 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05335/1.744, allocations: 20.55 MB / 0.9826 GB, free: 17.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-05/1.744, allocations: 37.97 kB / 0.9826 GB, free: 17.54 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.132e-05/1.744, allocations: 30.81 kB / 0.9826 GB, free: 17.52 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.744, allocations: 19.92 kB / 0.9827 GB, free: 17.5 MB / 0.573 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.06361/1.808, allocations: 25.51 MB / 1.008 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.808, allocations: 0 / 1.008 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.811, allocations: 391.5 kB / 1.008 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3665/2.177, allocations: 8.617 MB / 1.016 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/2.179, allocations: 71.67 kB / 1.016 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07977/2.258, allocations: 34.34 MB / 1.05 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.258, allocations: 2.719 kB / 1.05 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06595/2.324, allocations: 24.2 MB / 1.074 GB, free: 94.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/2.326, allocations: 0.5547 MB / 1.074 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.327, allocations: 69.03 kB / 1.074 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/2.332, allocations: 0.4887 MB / 1.075 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003697/2.336, allocations: 0.7774 MB / 1.075 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004837/2.336, allocations: 95.52 kB / 1.076 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00342/2.339, allocations: 2.067 MB / 1.078 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.252e-06/2.339, allocations: 0.5625 kB / 1.078 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006243/2.346, allocations: 1.764 MB / 1.079 GB, free: 93.55 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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.000693/2.346, allocations: 213.4 kB / 1.079 GB, free: 93.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02566/2.372, allocations: 9.951 MB / 1.089 GB, free: 92.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/2.372, allocations: 0 / 1.089 GB, free: 92.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01909/2.391, allocations: 7.042 MB / 1.096 GB, free: 89.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/2.394, allocations: 303.6 kB / 1.096 GB, free: 89.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/2.408, allocations: 9.644 MB / 1.106 GB, free: 83.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/2.409, allocations: 2.54 MB / 1.108 GB, free: 83.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001632/2.411, allocations: 298.7 kB / 1.109 GB, free: 83.05 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/2.412, allocations: 194.4 kB / 1.109 GB, free: 83.04 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/2.412, allocations: 0 / 1.109 GB, free: 83.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.1079/2.52, allocations: 78.24 MB / 1.185 GB, free: 46.68 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)