Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.439/1.439, 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.0009786/0.0009786, allocations: 96.3 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4584/0.4584, allocations: 78.07 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.79e-05, allocations: 3.938 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 69.35 MB / 0.5413 GB, free: 6.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5486, allocations: 98.52 MB / 0.6375 GB, free: 1.035 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5489, allocations: 80.98 kB / 0.6376 GB, free: 0.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08398/0.6329, allocations: 31.79 MB / 0.6686 GB, free: 1.207 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6329, allocations: 0 / 0.6686 GB, free: 1.207 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.405e-05/0.633, allocations: 31.94 kB / 0.6686 GB, free: 1.176 MB / 474.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.004226/0.6372, allocations: 1.73 MB / 0.6703 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6373, allocations: 12.03 kB / 0.6703 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.6405, allocations: 0.5602 MB / 0.6709 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.6418, allocations: 0.794 MB / 0.6717 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.6421, allocations: 228.8 kB / 0.6719 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.6422, allocations: 51.94 kB / 0.6719 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/0.6436, allocations: 0.8123 MB / 0.6727 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.645, allocations: 0.8473 MB / 0.6735 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.645, allocations: 0 / 0.6735 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.6451, allocations: 0 / 0.6735 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6451, allocations: 16 kB / 0.6736 GB, free: 11.97 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.006117/0.6513, allocations: 3.722 MB / 0.6772 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007134/0.6584, allocations: 2.63 MB / 0.6798 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.6592, allocations: 0.5279 MB / 0.6803 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.6593, allocations: 12.77 kB / 0.6803 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/0.6603, allocations: 0.6531 MB / 0.6809 GB, free: 4.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.525e-06/0.6603, allocations: 4 kB / 0.6809 GB, free: 4.141 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0119/0.6722, allocations: 3.946 MB / 0.6848 GB, free: 184 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.6723, allocations: 123.5 kB / 0.6849 GB, free: 32 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6736, allocations: 0.8467 MB / 0.6857 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6737, allocations: 25.7 kB / 0.6858 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.6741, allocations: 0.5284 MB / 0.6863 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.6744, allocations: 331 kB / 0.6866 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.6745, allocations: 0 / 0.6866 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6746, allocations: 350.5 kB / 0.6869 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.6753, allocations: 446.6 kB / 0.6874 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.6761, allocations: 0.5732 MB / 0.6879 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.6769, allocations: 0.4904 MB / 0.6884 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6769, allocations: 0 / 0.6884 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01168/0.6885, allocations: 3.978 MB / 0.6923 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.6887, allocations: 60.33 kB / 0.6923 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6887, allocations: 4 kB / 0.6923 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.6941, allocations: 1.514 MB / 0.6938 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.6953, allocations: 195.8 kB / 0.694 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.7085, allocations: 6.542 MB / 0.7004 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.7102, allocations: 183 kB / 0.7006 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.7104, allocations: 39.98 kB / 0.7006 GB, free: 15.74 MB / 0.5105 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 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.0003821/0.7108, allocations: 162.6 kB / 0.7008 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.7111, allocations: 127 kB / 0.7009 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.7228, allocations: 4.063 MB / 0.7048 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.7229, allocations: 11.94 kB / 0.7049 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.7229, allocations: 11.98 kB / 0.7049 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.7229, allocations: 3.984 kB / 0.7049 GB, free: 11.32 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.01364/0.7366, allocations: 5.549 MB / 0.7103 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.7366, allocations: 1.406 kB / 0.7103 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.7373, allocations: 99.89 kB / 0.7104 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004697/0.742, allocations: 1.485 MB / 0.7118 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.7421, allocations: 8 kB / 0.7118 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/0.7558, allocations: 7.536 MB / 0.7192 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7558, allocations: 0 / 0.7192 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.769, allocations: 4.816 MB / 0.7239 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.7695, allocations: 231.2 kB / 0.7241 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.7698, allocations: 7.953 kB / 0.7241 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.7711, allocations: 127.9 kB / 0.7243 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/0.7717, allocations: 204.9 kB / 0.7245 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.7718, allocations: 24 kB / 0.7245 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001019/0.7728, allocations: 0.6415 MB / 0.7251 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7728, allocations: 0 / 0.7251 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001453/0.7742, allocations: 403.5 kB / 0.7255 GB, free: 5.816 MB / 0.5261 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.0003355/0.7746, allocations: 135.9 kB / 0.7256 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005429/0.78, allocations: 2.038 MB / 0.7276 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.78, allocations: 4.062 kB / 0.7276 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.7839, allocations: 1.543 MB / 0.7291 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.7847, allocations: 95.28 kB / 0.7292 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.7882, allocations: 1.789 MB / 0.731 GB, free: 128 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.789, allocations: 1.155 MB / 0.7321 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004329/0.7895, allocations: 95.8 kB / 0.7322 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.7897, allocations: 63.42 kB / 0.7322 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.7897, allocations: 0 / 0.7322 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of Templates: time 0.03343/0.8232, allocations: 19.25 MB / 0.751 GB, free: 11.72 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)