Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 174.7 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.253/1.253, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008318/0.0008318, allocations: 84.94 kB / 266.6 MB, free: 9.27 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.06547/0.06547, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2772/0.2772, allocations: 78.02 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.84e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4585, allocations: 100.8 MB / 0.6879 GB, free: 14.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4588, allocations: 77.64 kB / 0.688 GB, free: 14.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08645/0.5452, allocations: 31.33 MB / 0.7186 GB, free: 4.133 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5453, allocations: 0 / 0.7186 GB, free: 4.133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.5453, allocations: 24 kB / 0.7186 GB, free: 4.109 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004362/0.5497, allocations: 1.74 MB / 0.7203 GB, free: 2.426 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5498, allocations: 11.98 kB / 0.7203 GB, free: 2.414 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/0.5532, allocations: 0.5671 MB / 0.7209 GB, free: 1.891 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.5546, allocations: 0.7808 MB / 0.7217 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.5549, allocations: 261.2 kB / 0.7219 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.555, allocations: 87.16 kB / 0.722 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.5567, allocations: 0.9419 MB / 0.7229 GB, free: 300 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.5567, allocations: 3.984 kB / 0.7229 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5568, allocations: 31.19 kB / 0.7229 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.5568, allocations: 16 kB / 0.723 GB, free: 272 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.5583, allocations: 0.8523 MB / 0.7238 GB, free: 15.73 MB / 474.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.006547/0.5649, allocations: 3.848 MB / 0.7275 GB, free: 12.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/0.5725, allocations: 2.667 MB / 0.7301 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.5735, allocations: 0.5516 MB / 0.7307 GB, free: 9.949 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.5736, allocations: 19.75 kB / 0.7307 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.5748, allocations: 0.6964 MB / 0.7314 GB, free: 9.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/0.5748, allocations: 0 / 0.7314 GB, free: 9.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.01278/0.5876, allocations: 4.052 MB / 0.7353 GB, free: 5.941 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.5877, allocations: 115.6 kB / 0.7355 GB, free: 5.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5892, allocations: 0.9151 MB / 0.7363 GB, free: 5.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.5895, allocations: 48.56 kB / 0.7364 GB, free: 5.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.5898, allocations: 0.5097 MB / 0.7369 GB, free: 4.809 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.5901, allocations: 354.3 kB / 0.7372 GB, free: 4.504 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.5902, allocations: 18.38 kB / 0.7372 GB, free: 4.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5903, allocations: 351.2 kB / 0.7376 GB, free: 4.168 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000774/0.5911, allocations: 466 kB / 0.738 GB, free: 3.918 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/0.592, allocations: 0.5887 MB / 0.7386 GB, free: 3.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.5929, allocations: 0.5672 MB / 0.7392 GB, free: 3.137 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5929, allocations: 0 / 0.7392 GB, free: 3.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01261/0.6055, allocations: 4.119 MB / 0.7432 GB, free: 15.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.6056, allocations: 55.41 kB / 0.7432 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6056, allocations: 4 kB / 0.7432 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.6114, allocations: 1.555 MB / 0.7448 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.6127, allocations: 198.6 kB / 0.7449 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.6269, allocations: 6.709 MB / 0.7515 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.6287, allocations: 207 kB / 0.7517 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6288, allocations: 39.92 kB / 0.7517 GB, free: 7.43 MB / 490.7 MB 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.6291, allocations: 199.6 kB / 0.7519 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.6293, allocations: 126.4 kB / 0.752 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.642, allocations: 4.182 MB / 0.7561 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.642, allocations: 15.98 kB / 0.7561 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.642, allocations: 8 kB / 0.7561 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.6421, allocations: 3.984 kB / 0.7562 GB, free: 2.859 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 postOpt removeSimpleEquations (simulation): time 0.01417/0.6562, allocations: 5.746 MB / 0.7618 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.6563, allocations: 0 / 0.7618 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.657, allocations: 99.89 kB / 0.7619 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005029/0.662, allocations: 1.497 MB / 0.7633 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.6622, allocations: 20 kB / 0.7633 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.6765, allocations: 7.705 MB / 0.7709 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6766, allocations: 0 / 0.7709 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.6903, allocations: 4.928 MB / 0.7757 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.6909, allocations: 235.2 kB / 0.7759 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6912, allocations: 20.06 kB / 0.7759 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.6926, allocations: 151.8 kB / 0.7761 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005971/0.6932, allocations: 196.6 kB / 0.7763 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/0.6933, allocations: 24 kB / 0.7763 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001136/0.6944, allocations: 0.7097 MB / 0.777 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6944, allocations: 4 kB / 0.777 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001499/0.696, allocations: 451.5 kB / 0.7774 GB, free: 12.63 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.6963, allocations: 151 kB / 0.7775 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00515/0.7014, allocations: 2.11 MB / 0.7796 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7015, allocations: 0.75 kB / 0.7796 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.7055, allocations: 1.593 MB / 0.7812 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/0.7065, allocations: 112 kB / 0.7813 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.7103, allocations: 1.838 MB / 0.7831 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.711, allocations: 1.158 MB / 0.7842 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004905/0.7115, allocations: 98.88 kB / 0.7843 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.7119, allocations: 67.42 kB / 0.7844 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.7119, allocations: 0 / 0.7844 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of Templates: time 0.03423/0.7461, allocations: 20.92 MB / 0.8048 GB, free: 436 kB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)