Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 86.59 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06716/0.06716, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2835/0.2835, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.149e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 69.33 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4633, allocations: 100.4 MB / 0.6875 GB, free: 15.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4635, allocations: 78.94 kB / 0.6876 GB, free: 15.06 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08143/0.5449, allocations: 30.05 MB / 0.7169 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.545, allocations: 0 / 0.7169 GB, free: 5.656 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.176e-05/0.5451, allocations: 23.94 kB / 0.717 GB, free: 5.633 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00422/0.5493, allocations: 1.73 MB / 0.7186 GB, free: 3.957 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5493, allocations: 11.98 kB / 0.7187 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.5528, allocations: 0.565 MB / 0.7192 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5543, allocations: 0.7935 MB / 0.72 GB, free: 2.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.5545, allocations: 231.4 kB / 0.7202 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5547, allocations: 82.03 kB / 0.7203 GB, free: 2.469 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5563, allocations: 0.9498 MB / 0.7212 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5563, allocations: 0 / 0.7212 GB, free: 1.836 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.5564, allocations: 25.25 kB / 0.7212 GB, free: 1.832 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5564, allocations: 20 kB / 0.7212 GB, free: 1.812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5579, allocations: 0.8522 MB / 0.7221 GB, free: 1.273 MB / 458.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.006768/0.5646, allocations: 3.928 MB / 0.7259 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/0.5718, allocations: 2.609 MB / 0.7285 GB, free: 11.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009112/0.5728, allocations: 0.5436 MB / 0.729 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.5729, allocations: 16.77 kB / 0.729 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.5729, allocations: 50.23 kB / 0.7291 GB, free: 11.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 2.775e-06/0.5729, allocations: 7.938 kB / 0.7291 GB, free: 11.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.01166/0.5846, allocations: 3.913 MB / 0.7329 GB, free: 7.988 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.5847, allocations: 145.2 kB / 0.733 GB, free: 7.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.5861, allocations: 0.9169 MB / 0.7339 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002158/0.5863, allocations: 42.77 kB / 0.734 GB, free: 7.094 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.5866, allocations: 0.5149 MB / 0.7345 GB, free: 6.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.5869, allocations: 341 kB / 0.7348 GB, free: 6.523 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.587, allocations: 17.88 kB / 0.7348 GB, free: 6.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5871, allocations: 343.7 kB / 0.7351 GB, free: 6.195 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/0.5879, allocations: 449.8 kB / 0.7356 GB, free: 5.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/0.5887, allocations: 0.5744 MB / 0.7361 GB, free: 5.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.5895, allocations: 0.5484 MB / 0.7367 GB, free: 5.191 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.5895, allocations: 4 kB / 0.7367 GB, free: 5.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01193/0.6015, allocations: 4.016 MB / 0.7406 GB, free: 1.691 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.6019, allocations: 1.205 MB / 0.7418 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6019, allocations: 8 kB / 0.7418 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005063/0.607, allocations: 1.441 MB / 0.7432 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.6082, allocations: 186.7 kB / 0.7434 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.6216, allocations: 6.434 MB / 0.7496 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6233, allocations: 195.2 kB / 0.7498 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.6235, allocations: 31.98 kB / 0.7499 GB, free: 9.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6235, allocations: 7.281 kB / 0.7499 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/0.6354, allocations: 3.895 MB / 0.7537 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.6355, allocations: 4 kB / 0.7537 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/0.6404, allocations: 1.441 MB / 0.7551 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6415, allocations: 179.7 kB / 0.7553 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.6545, allocations: 6.44 MB / 0.7615 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.6561, allocations: 183.3 kB / 0.7617 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.6563, allocations: 35.98 kB / 0.7617 GB, free: 12.9 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.6567, allocations: 183.7 kB / 0.7619 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.6571, allocations: 134.4 kB / 0.7621 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.6688, allocations: 4.02 MB / 0.766 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.6689, allocations: 12 kB / 0.766 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6689, allocations: 8 kB / 0.766 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.6689, allocations: 11.97 kB / 0.766 GB, free: 8.496 MB / 0.4948 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.01501/0.684, allocations: 5.676 MB / 0.7716 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.684, allocations: 0 / 0.7716 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.6848, allocations: 115.9 kB / 0.7717 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/0.6895, allocations: 1.418 MB / 0.773 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.6898, allocations: 27.98 kB / 0.7731 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.7016, allocations: 5.712 MB / 0.7787 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.7016, allocations: 11.98 kB / 0.7787 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.7149, allocations: 4.778 MB / 0.7833 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.7155, allocations: 227.3 kB / 0.7835 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.7159, allocations: 16 kB / 0.7836 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.7173, allocations: 143.9 kB / 0.7837 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005801/0.7179, allocations: 176.5 kB / 0.7839 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.7181, allocations: 28 kB / 0.7839 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001159/0.7192, allocations: 0.7136 MB / 0.7846 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7192, allocations: 0 / 0.7846 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002245/0.7215, allocations: 0.6748 MB / 0.7852 GB, free: 4.477 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (68): * Single equations (assignments): 66 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/0.7218, allocations: 155.2 kB / 0.7854 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009215/0.7311, allocations: 3.597 MB / 0.7889 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7311, allocations: 0 / 0.7889 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004032/0.7352, allocations: 1.451 MB / 0.7903 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.7362, allocations: 112.5 kB / 0.7904 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.7401, allocations: 1.872 MB / 0.7923 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.7409, allocations: 1.162 MB / 0.7934 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001/0.7419, allocations: 206.1 kB / 0.7936 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.7421, allocations: 59.42 kB / 0.7937 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/0.7422, allocations: 0 / 0.7937 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.0443/0.7865, allocations: 28.06 MB / 0.8211 GB, free: 15.61 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)