Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005408/0.005408, allocations: 170.3 kB / 15.11 MB, free: 5.973 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.171/1.171, allocations: 223.2 MB / 239 MB, free: 1.762 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.0007803/0.0007803, allocations: 92.86 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4202/0.4202, allocations: 79.44 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 8 kB / 0.489 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 69.5 MB / 0.5569 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4327, allocations: 101.3 MB / 0.6558 GB, free: 4.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.433, allocations: 85.56 kB / 0.6559 GB, free: 4.184 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1733/0.6063, allocations: 71.2 MB / 0.7254 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6064, allocations: 0 / 0.7254 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001587/0.6066, allocations: 59.94 kB / 0.7255 GB, free: 12.54 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01339/0.6199, allocations: 4.691 MB / 0.7301 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.62, allocations: 12.03 kB / 0.7301 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009715/0.6297, allocations: 1.615 MB / 0.7317 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.6338, allocations: 1.717 MB / 0.7333 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/0.6345, allocations: 0.7526 MB / 0.7341 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.6349, allocations: 212 kB / 0.7343 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/0.6409, allocations: 3.211 MB / 0.7374 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.6409, allocations: 3.953 kB / 0.7374 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.6412, allocations: 80 kB / 0.7375 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.6412, allocations: 52 kB / 0.7375 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.6468, allocations: 2.987 MB / 0.7405 GB, free: 12.84 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01769/0.6645, allocations: 9.963 MB / 0.7502 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6757, allocations: 4.873 MB / 0.755 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.676, allocations: 45.88 kB / 0.755 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004529/0.6806, allocations: 2.424 MB / 0.7574 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.649e-06/0.6806, allocations: 3.938 kB / 0.7574 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.3182/0.9988, allocations: 31.92 MB / 0.7885 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.9989, allocations: 182 kB / 0.7887 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/1.003, allocations: 1.954 MB / 0.7906 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006897/1.003, allocations: 70.98 kB / 0.7907 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.004, allocations: 1.212 MB / 0.7919 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/1.005, allocations: 0.8549 MB / 0.7927 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.005, allocations: 47.28 kB / 0.7928 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.005, allocations: 407.5 kB / 0.7931 GB, free: 116 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.009, allocations: 1.89 MB / 0.795 GB, free: 116 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/1.013, allocations: 2.197 MB / 0.7971 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/1.017, allocations: 2.115 MB / 0.7992 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.017, allocations: 3.75 kB / 0.7992 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04007/1.057, allocations: 14.49 MB / 0.8134 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/1.057, allocations: 113.4 kB / 0.8135 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.057, allocations: 6.547 kB / 0.8135 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01708/1.074, allocations: 6.501 MB / 0.8198 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/1.076, allocations: 440.8 kB / 0.8202 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05295/1.129, allocations: 26.44 MB / 0.8461 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003903/1.133, allocations: 0.5382 MB / 0.8466 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/1.134, allocations: 93.34 kB / 0.8467 GB, free: 107.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.00122/1.135, allocations: 0.5085 MB / 0.8472 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/1.135, allocations: 306.9 kB / 0.8475 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03702/1.172, allocations: 14.77 MB / 0.8619 GB, free: 97.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.172, allocations: 24 kB / 0.8619 GB, free: 97.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/1.172, allocations: 31.23 kB / 0.8619 GB, free: 97.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/1.172, allocations: 11.77 kB / 0.862 GB, free: 97.93 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04141/1.214, allocations: 18.31 MB / 0.8798 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.214, allocations: 0 / 0.8798 GB, free: 83.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.216, allocations: 250 kB / 0.8801 GB, free: 83.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/1.232, allocations: 6.257 MB / 0.8862 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/1.233, allocations: 63.02 kB / 0.8862 GB, free: 78.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05016/1.283, allocations: 26.86 MB / 0.9125 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/1.283, allocations: 0 / 0.9125 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04204/1.325, allocations: 17.36 MB / 0.9294 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/1.326, allocations: 423.2 kB / 0.9298 GB, free: 35.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009385/1.327, allocations: 55.94 kB / 0.9299 GB, free: 35.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/1.33, allocations: 407.6 kB / 0.9303 GB, free: 35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002147/1.333, allocations: 0.5761 MB / 0.9308 GB, free: 34.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000387/1.333, allocations: 71.98 kB / 0.9309 GB, free: 34.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002429/1.335, allocations: 1.512 MB / 0.9324 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.335, allocations: 0 / 0.9324 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00361/1.339, allocations: 1.121 MB / 0.9335 GB, free: 31.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006093/1.34, allocations: 193.3 kB / 0.9337 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.356, allocations: 7.085 MB / 0.9406 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.356, allocations: 0 / 0.9406 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01172/1.368, allocations: 5.102 MB / 0.9456 GB, free: 19.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/1.369, allocations: 233.6 kB / 0.9458 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008489/1.378, allocations: 6.578 MB / 0.9522 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/1.379, allocations: 1.872 MB / 0.954 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009029/1.38, allocations: 221.2 kB / 0.9542 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/1.38, allocations: 139.4 kB / 0.9544 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/1.38, allocations: 0 / 0.9544 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of Templates: time 0.2896/1.67, allocations: 55.78 MB / 1.009 GB, free: 140.7 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)