Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 174.6 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.25/1.25, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009152/0.0009149, allocations: 75.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.4722/0.4722, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.895e-05, allocations: 0 / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 69.35 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4426, allocations: 97.86 MB / 0.6436 GB, free: 2.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4429, allocations: 79.97 kB / 0.6436 GB, free: 2.621 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4484/0.8913, allocations: 60.69 MB / 0.7029 GB, free: 99.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.8913, allocations: 0 / 0.7029 GB, free: 99.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.8915, allocations: 55.22 kB / 0.703 GB, free: 99.62 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01174/0.9032, allocations: 3.732 MB / 0.7066 GB, free: 98.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9033, allocations: 11.09 kB / 0.7066 GB, free: 98.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009858/0.9132, allocations: 1.569 MB / 0.7081 GB, free: 98.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.9165, allocations: 1.457 MB / 0.7096 GB, free: 97.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005242/0.917, allocations: 0.6799 MB / 0.7102 GB, free: 96.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004441/0.9175, allocations: 193.1 kB / 0.7104 GB, free: 96.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.9215, allocations: 2.417 MB / 0.7128 GB, free: 95.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.9215, allocations: 0 / 0.7128 GB, free: 95.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.9218, allocations: 78.16 kB / 0.7129 GB, free: 95.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.9218, allocations: 49.03 kB / 0.7129 GB, free: 95.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.9253, allocations: 2.169 MB / 0.715 GB, free: 93.05 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.01621/0.9415, allocations: 9.597 MB / 0.7244 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/0.9504, allocations: 4.038 MB / 0.7283 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.9528, allocations: 1.432 MB / 0.7297 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.9532, allocations: 41.56 kB / 0.7298 GB, free: 77.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.9532, allocations: 60.56 kB / 0.7298 GB, free: 77.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.819e-06/0.9532, allocations: 0 / 0.7298 GB, free: 77.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03582/0.989, allocations: 12.06 MB / 0.7416 GB, free: 65.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.9892, allocations: 128.8 kB / 0.7417 GB, free: 65.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/0.9921, allocations: 1.632 MB / 0.7433 GB, free: 63.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007726/0.9929, allocations: 65.7 kB / 0.7434 GB, free: 63.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006722/0.9936, allocations: 1.124 MB / 0.7445 GB, free: 62.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.9946, allocations: 0.7788 MB / 0.7452 GB, free: 61.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.9948, allocations: 40 kB / 0.7453 GB, free: 61.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9949, allocations: 382.2 kB / 0.7456 GB, free: 61.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.9968, allocations: 1.153 MB / 0.7468 GB, free: 60.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.9988, allocations: 1.455 MB / 0.7482 GB, free: 58.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/1.001, allocations: 1.267 MB / 0.7494 GB, free: 57.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.001, allocations: 0 / 0.7494 GB, free: 57.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03562/1.036, allocations: 12.21 MB / 0.7614 GB, free: 44.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006465/1.037, allocations: 2.737 MB / 0.764 GB, free: 42.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.037, allocations: 8 kB / 0.764 GB, free: 42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0165/1.054, allocations: 5.159 MB / 0.7691 GB, free: 36.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.055, allocations: 319.5 kB / 0.7694 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03762/1.093, allocations: 17.93 MB / 0.7869 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.097, allocations: 489.8 kB / 0.7874 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/1.097, allocations: 75.98 kB / 0.7874 GB, free: 17.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.097, allocations: 6.188 kB / 0.7874 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03318/1.13, allocations: 11.94 MB / 0.7991 GB, free: 5.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/1.13, allocations: 8 kB / 0.7991 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/1.146, allocations: 5.166 MB / 0.8042 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.147, allocations: 307.6 kB / 0.8044 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04042/1.188, allocations: 17.93 MB / 0.822 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/1.192, allocations: 462 kB / 0.8224 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.192, allocations: 83.92 kB / 0.8225 GB, free: 13.86 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000606/1.193, allocations: 225.7 kB / 0.8227 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/1.193, allocations: 272.6 kB / 0.823 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03754/1.231, allocations: 12.38 MB / 0.835 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.231, allocations: 24 kB / 0.8351 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.838e-05/1.231, allocations: 16 kB / 0.8351 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.857e-05/1.231, allocations: 11.95 kB / 0.8351 GB, free: 0.8945 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 postOpt removeSimpleEquations (simulation): time 0.04445/1.275, allocations: 15.87 MB / 0.8506 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/1.275, allocations: 4 kB / 0.8506 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.277, allocations: 243.6 kB / 0.8508 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/1.293, allocations: 4.875 MB / 0.8556 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006561/1.294, allocations: 40 kB / 0.8556 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0355/1.329, allocations: 15.36 MB / 0.8706 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.329, allocations: 4 kB / 0.8706 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04082/1.37, allocations: 14.27 MB / 0.8846 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/1.371, allocations: 389 kB / 0.8849 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.372, allocations: 39.38 kB / 0.885 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/1.374, allocations: 371.6 kB / 0.8853 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001921/1.376, allocations: 0.5369 MB / 0.8859 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.377, allocations: 59.98 kB / 0.8859 GB, free: 12.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001705/1.378, allocations: 1.246 MB / 0.8871 GB, free: 11.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.378, allocations: 3.938 kB / 0.8871 GB, free: 11.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004583/1.383, allocations: 1.689 MB / 0.8888 GB, free: 9.551 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000442/1.383, allocations: 181.9 kB / 0.889 GB, free: 9.363 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2977/1.681, allocations: 9.346 MB / 0.8981 GB, free: 179.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.681, allocations: 0 / 0.8981 GB, free: 179.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01383/1.695, allocations: 3.89 MB / 0.9019 GB, free: 179.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.697, allocations: 194.1 kB / 0.9021 GB, free: 179.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/1.705, allocations: 3.901 MB / 0.9059 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.706, allocations: 1.786 MB / 0.9076 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001537/1.707, allocations: 353.1 kB / 0.908 GB, free: 177.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/1.708, allocations: 108.9 kB / 0.9081 GB, free: 177.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/1.708, allocations: 0 / 0.9081 GB, free: 177.3 MB / 0.573 GB Notification: Performance of Templates: time 0.09138/1.799, allocations: 74.95 MB / 0.9813 GB, free: 127.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)