Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 174.5 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.271/1.271, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.000806/0.0008063, allocations: 96.67 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4794/0.4794, allocations: 78.89 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.464e-05, allocations: 0 / 492.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3589, allocations: 69.51 MB / 0.5491 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4864, allocations: 102.8 MB / 0.6495 GB, free: 12.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4867, allocations: 83.95 kB / 0.6496 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5577/1.044, allocations: 101.5 MB / 0.7487 GB, free: 58.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.044, allocations: 0 / 0.7487 GB, free: 58.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003331/1.045, allocations: 87.94 kB / 0.7488 GB, free: 58.67 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01695/1.062, allocations: 5.77 MB / 0.7544 GB, free: 52.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.062, allocations: 11.97 kB / 0.7544 GB, free: 52.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/1.079, allocations: 2.787 MB / 0.7571 GB, free: 50.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00577/1.085, allocations: 2.283 MB / 0.7594 GB, free: 47.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008509/1.086, allocations: 0.9596 MB / 0.7603 GB, free: 46.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/1.087, allocations: 347.9 kB / 0.7606 GB, free: 46.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.098, allocations: 4.085 MB / 0.7646 GB, free: 42.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/1.098, allocations: 0 / 0.7646 GB, free: 42.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009359/1.099, allocations: 148 kB / 0.7648 GB, free: 41.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/1.099, allocations: 84 kB / 0.7648 GB, free: 41.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006595/1.106, allocations: 3.62 MB / 0.7684 GB, free: 38.26 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.03333/1.139, allocations: 18.71 MB / 0.7867 GB, free: 18.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009998/1.149, allocations: 4.771 MB / 0.7913 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/1.153, allocations: 2.231 MB / 0.7935 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/1.153, allocations: 70.91 kB / 0.7936 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/1.153, allocations: 69.55 kB / 0.7936 GB, free: 11.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 6.893e-06/1.153, allocations: 0 / 0.7936 GB, free: 11.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.05297/1.206, allocations: 17.47 MB / 0.8107 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/1.207, allocations: 171.5 kB / 0.8109 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/1.212, allocations: 2.677 MB / 0.8135 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.213, allocations: 89.64 kB / 0.8136 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.215, allocations: 1.999 MB / 0.8155 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002402/1.218, allocations: 1.305 MB / 0.8168 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006807/1.218, allocations: 68 kB / 0.8168 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.219, allocations: 449.6 kB / 0.8173 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.222, allocations: 1.823 MB / 0.8191 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003918/1.226, allocations: 2.41 MB / 0.8214 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/1.23, allocations: 2.098 MB / 0.8235 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/1.23, allocations: 4 kB / 0.8235 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.0538/1.284, allocations: 17.66 MB / 0.8407 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003441/1.287, allocations: 6.683 MB / 0.8472 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-05/1.287, allocations: 16 kB / 0.8473 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02445/1.312, allocations: 6.882 MB / 0.854 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/1.315, allocations: 0.5617 MB / 0.8545 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05951/1.375, allocations: 25.42 MB / 0.8793 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006295/1.381, allocations: 0.7113 MB / 0.88 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008107/1.382, allocations: 132 kB / 0.8802 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.382, allocations: 8 kB / 0.8802 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05221/1.434, allocations: 17.26 MB / 0.897 GB, free: 24 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.102e-05/1.434, allocations: 20 kB / 0.897 GB, free: 4 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3454/1.78, allocations: 6.88 MB / 0.9038 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/1.783, allocations: 0.5546 MB / 0.9043 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.055/1.838, allocations: 25.4 MB / 0.9291 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.844, allocations: 0.6714 MB / 0.9298 GB, free: 123.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000657/1.844, allocations: 135.7 kB / 0.9299 GB, free: 123.3 MB / 0.573 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 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 order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008955/1.845, allocations: 331.3 kB / 0.9302 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.846, allocations: 456.2 kB / 0.9307 GB, free: 122.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04859/1.895, allocations: 18.01 MB / 0.9482 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/1.895, allocations: 38.31 kB / 0.9483 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-05/1.895, allocations: 32.92 kB / 0.9483 GB, free: 119.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/1.895, allocations: 18.05 kB / 0.9483 GB, free: 119.6 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.05594/1.951, allocations: 23.29 MB / 0.9711 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.951, allocations: 3.938 kB / 0.9711 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.954, allocations: 404.4 kB / 0.9715 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0213/1.976, allocations: 6.963 MB / 0.9783 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/1.977, allocations: 67.56 kB / 0.9783 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0473/2.024, allocations: 22.54 MB / 1 GB, free: 86.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.024, allocations: 0 / 1 GB, free: 86.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05279/2.077, allocations: 20.84 MB / 1.021 GB, free: 69.66 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/2.078, allocations: 0.5573 MB / 1.021 GB, free: 69.17 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/2.08, allocations: 68 kB / 1.021 GB, free: 69.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004816/2.085, allocations: 0.5006 MB / 1.022 GB, free: 68.72 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002854/2.088, allocations: 0.7626 MB / 1.023 GB, free: 68.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/2.088, allocations: 91.89 kB / 1.023 GB, free: 68.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002728/2.091, allocations: 2.04 MB / 1.025 GB, free: 66.33 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/2.091, allocations: 0 / 1.025 GB, free: 66.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01005/2.101, allocations: 2.876 MB / 1.027 GB, free: 63.58 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006925/2.101, allocations: 228.9 kB / 1.028 GB, free: 63.37 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03661/2.138, allocations: 14.44 MB / 1.042 GB, free: 50.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.138, allocations: 0 / 1.042 GB, free: 50.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01677/2.155, allocations: 5.996 MB / 1.048 GB, free: 45.01 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/2.158, allocations: 310 kB / 1.048 GB, free: 44.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/2.169, allocations: 6.112 MB / 1.054 GB, free: 39.13 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/2.171, allocations: 2.6 MB / 1.056 GB, free: 37.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003338/2.175, allocations: 0.6117 MB / 1.057 GB, free: 36.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006991/2.175, allocations: 174.3 kB / 1.057 GB, free: 36.63 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/2.175, allocations: 0 / 1.057 GB, free: 36.63 MB / 0.573 GB Notification: Performance of Templates: time 0.468/2.643, allocations: 112.9 MB / 1.167 GB, free: 146.4 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)