Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.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.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 176.1 kB / 7.643 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.264/1.264, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008807/0.0008804, allocations: 91.08 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.442/0.442, allocations: 78.06 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.427e-05, allocations: 4 kB / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1428, allocations: 69.36 MB / 0.5413 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.5031, allocations: 99.16 MB / 0.6381 GB, free: 432 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5034, allocations: 79.95 kB / 0.6382 GB, free: 352 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.6766, allocations: 65.78 MB / 0.7024 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.158e-05/0.6766, allocations: 0 / 0.7024 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003387/0.677, allocations: 59.88 kB / 0.7025 GB, free: 14.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01323/0.6902, allocations: 3.991 MB / 0.7064 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6903, allocations: 8.031 kB / 0.7064 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.7015, allocations: 1.6 MB / 0.708 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00536/0.7069, allocations: 1.64 MB / 0.7096 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/0.7077, allocations: 0.6164 MB / 0.7102 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009892/0.7087, allocations: 123.9 kB / 0.7103 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006212/0.7149, allocations: 2.222 MB / 0.7125 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.7191, allocations: 2.275 MB / 0.7147 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.7191, allocations: 0 / 0.7147 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/0.7193, allocations: 0 / 0.7147 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.7194, allocations: 56 kB / 0.7147 GB, free: 1.535 MB / 0.5105 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.01692/0.7363, allocations: 9.662 MB / 0.7242 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.7449, allocations: 3.953 MB / 0.728 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.7469, allocations: 1.458 MB / 0.7295 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.7472, allocations: 42.03 kB / 0.7295 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.7472, allocations: 64.52 kB / 0.7296 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 4.779e-06/0.7473, allocations: 4.938 kB / 0.7296 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.03489/0.7822, allocations: 12.06 MB / 0.7413 GB, free: 5.684 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.7823, allocations: 235.6 kB / 0.7416 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.7851, allocations: 1.681 MB / 0.7432 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005756/0.7857, allocations: 25.7 kB / 0.7432 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008774/0.7865, allocations: 1.204 MB / 0.7444 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009176/0.7875, allocations: 0.8042 MB / 0.7452 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.7876, allocations: 0 / 0.7452 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7878, allocations: 394.6 kB / 0.7456 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.7898, allocations: 1.184 MB / 0.7467 GB, free: 80 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.7918, allocations: 1.476 MB / 0.7482 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.7938, allocations: 1.299 MB / 0.7494 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7938, allocations: 0 / 0.7494 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03527/0.8291, allocations: 12.11 MB / 0.7613 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.286/1.115, allocations: 2.858 MB / 0.7641 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.707e-05/1.115, allocations: 8.219 kB / 0.7641 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01498/1.13, allocations: 4.856 MB / 0.7688 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.132, allocations: 375.1 kB / 0.7692 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03463/1.167, allocations: 17.17 MB / 0.7859 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/1.171, allocations: 477.5 kB / 0.7864 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/1.171, allocations: 83.03 kB / 0.7865 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.171, allocations: 4.906 kB / 0.7865 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0359/1.207, allocations: 11.79 MB / 0.798 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-05/1.207, allocations: 7.062 kB / 0.798 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01591/1.223, allocations: 4.856 MB / 0.8027 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.225, allocations: 362.6 kB / 0.8031 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/1.262, allocations: 17.16 MB / 0.8198 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.266, allocations: 455.3 kB / 0.8203 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.267, allocations: 82.03 kB / 0.8203 GB, free: 103.9 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008085/1.268, allocations: 220 kB / 0.8206 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/1.268, allocations: 287.6 kB / 0.8208 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03349/1.302, allocations: 12.34 MB / 0.8329 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/1.302, allocations: 23.28 kB / 0.8329 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/1.302, allocations: 19.12 kB / 0.8329 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/1.302, allocations: 11.53 kB / 0.8329 GB, free: 101.2 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.03714/1.339, allocations: 15.86 MB / 0.8484 GB, free: 96.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.339, allocations: 3.844 kB / 0.8484 GB, free: 96.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.341, allocations: 277.3 kB / 0.8487 GB, free: 96.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01285/1.354, allocations: 4.786 MB / 0.8534 GB, free: 96.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004251/1.354, allocations: 15.5 kB / 0.8534 GB, free: 96.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/1.383, allocations: 15.17 MB / 0.8682 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.383, allocations: 0 / 0.8682 GB, free: 84.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03499/1.418, allocations: 14.29 MB / 0.8821 GB, free: 73.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/1.419, allocations: 403.2 kB / 0.8825 GB, free: 72.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.419, allocations: 4 kB / 0.8825 GB, free: 72.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.422, allocations: 357.5 kB / 0.8829 GB, free: 72.68 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/1.423, allocations: 0.5489 MB / 0.8834 GB, free: 72.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.423, allocations: 65.2 kB / 0.8835 GB, free: 72.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001423/1.425, allocations: 1.256 MB / 0.8847 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.425, allocations: 0 / 0.8847 GB, free: 71.17 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004027/1.429, allocations: 1.601 MB / 0.8863 GB, free: 69.65 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003789/1.429, allocations: 157.9 kB / 0.8864 GB, free: 69.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02264/1.452, allocations: 9.715 MB / 0.8959 GB, free: 60.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.452, allocations: 0.6875 kB / 0.8959 GB, free: 60.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009812/1.462, allocations: 3.971 MB / 0.8998 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.463, allocations: 189.4 kB / 0.9 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/1.469, allocations: 4.068 MB / 0.9039 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/1.47, allocations: 1.899 MB / 0.9058 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00168/1.472, allocations: 445.6 kB / 0.9062 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/1.473, allocations: 118.5 kB / 0.9063 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/1.473, allocations: 0 / 0.9063 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of Templates: time 0.09147/1.564, allocations: 70.62 MB / 0.9753 GB, free: 4.301 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)