Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 169 kB / 7.646 MB, free: 1.426 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.234/1.234, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009196/0.0009196, allocations: 86.05 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4484/0.4484, allocations: 78.12 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.434e-05/1.438e-05, allocations: 4 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 69.36 MB / 0.5413 GB, free: 6.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3713/0.4968, allocations: 99.57 MB / 0.6386 GB, free: 204 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4971, allocations: 76.7 kB / 0.6386 GB, free: 128 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1754/0.6725, allocations: 68.46 MB / 0.7055 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6725, allocations: 1.125 kB / 0.7055 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001465/0.6727, allocations: 63.88 kB / 0.7056 GB, free: 11.47 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01116/0.6838, allocations: 4.022 MB / 0.7095 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6839, allocations: 8.031 kB / 0.7095 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009427/0.6933, allocations: 1.6 MB / 0.711 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.6968, allocations: 1.639 MB / 0.7126 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006812/0.6975, allocations: 0.6744 MB / 0.7133 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/0.698, allocations: 127.9 kB / 0.7134 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004148/0.7021, allocations: 2.219 MB / 0.7156 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.7062, allocations: 2.271 MB / 0.7178 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.7062, allocations: 0 / 0.7178 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.7065, allocations: 7.953 kB / 0.7178 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.7065, allocations: 52.56 kB / 0.7179 GB, free: 14.51 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01652/0.723, allocations: 9.574 MB / 0.7272 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/0.7324, allocations: 4.098 MB / 0.7312 GB, free: 312 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.7351, allocations: 1.469 MB / 0.7327 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.7354, allocations: 41.95 kB / 0.7327 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.738, allocations: 1.71 MB / 0.7344 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 4.459e-06/0.738, allocations: 8.688 kB / 0.7344 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03711/0.7752, allocations: 12.32 MB / 0.7464 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.7753, allocations: 180.2 kB / 0.7466 GB, free: 496 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.7781, allocations: 1.693 MB / 0.7482 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005818/0.7787, allocations: 25.7 kB / 0.7483 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/0.7796, allocations: 1.207 MB / 0.7494 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009707/0.7805, allocations: 0.8158 MB / 0.7502 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.7807, allocations: 0 / 0.7502 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7809, allocations: 403.6 kB / 0.7506 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.783, allocations: 1.208 MB / 0.7518 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.7852, allocations: 1.502 MB / 0.7533 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.7874, allocations: 1.328 MB / 0.7546 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.7874, allocations: 4 kB / 0.7546 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3158/1.103, allocations: 12.28 MB / 0.7666 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/1.103, allocations: 116.5 kB / 0.7667 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.103, allocations: 6.062 kB / 0.7667 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/1.118, allocations: 4.974 MB / 0.7715 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.121, allocations: 419.2 kB / 0.7719 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03582/1.157, allocations: 17.54 MB / 0.7891 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/1.161, allocations: 0.4907 MB / 0.7895 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/1.161, allocations: 91.67 kB / 0.7896 GB, free: 111.7 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006083/1.161, allocations: 218.1 kB / 0.7898 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/1.162, allocations: 290.1 kB / 0.7901 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03796/1.2, allocations: 12.61 MB / 0.8024 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/1.2, allocations: 30.22 kB / 0.8025 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/1.2, allocations: 18.25 kB / 0.8025 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-05/1.2, allocations: 13.42 kB / 0.8025 GB, free: 110.9 MB / 0.5573 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.04029/1.24, allocations: 15.94 MB / 0.818 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.241, allocations: 0.875 kB / 0.818 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.242, allocations: 251.4 kB / 0.8183 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01465/1.257, allocations: 4.928 MB / 0.8231 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005888/1.257, allocations: 13.8 kB / 0.8231 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03431/1.292, allocations: 18.99 MB / 0.8417 GB, free: 99.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.292, allocations: 11.89 kB / 0.8417 GB, free: 99.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03687/1.329, allocations: 14.58 MB / 0.8559 GB, free: 95.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.33, allocations: 409.3 kB / 0.8563 GB, free: 95.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/1.33, allocations: 3.812 kB / 0.8563 GB, free: 95.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/1.333, allocations: 373.1 kB / 0.8567 GB, free: 95.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001805/1.335, allocations: 0.5816 MB / 0.8572 GB, free: 95.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.335, allocations: 63.06 kB / 0.8573 GB, free: 95.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001594/1.337, allocations: 1.263 MB / 0.8585 GB, free: 94.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/1.337, allocations: 0.6562 kB / 0.8585 GB, free: 94.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002813/1.34, allocations: 1.005 MB / 0.8595 GB, free: 94.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003841/1.34, allocations: 154.6 kB / 0.8596 GB, free: 94.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.353, allocations: 5.565 MB / 0.8651 GB, free: 89.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.353, allocations: 6.469 kB / 0.8651 GB, free: 89.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/1.363, allocations: 4.25 MB / 0.8692 GB, free: 85.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.365, allocations: 190.2 kB / 0.8694 GB, free: 85.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/1.372, allocations: 3.984 MB / 0.8733 GB, free: 81.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/1.373, allocations: 1.866 MB / 0.8751 GB, free: 80.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008896/1.374, allocations: 209.1 kB / 0.8753 GB, free: 80.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/1.374, allocations: 134.9 kB / 0.8755 GB, free: 80.06 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/1.374, allocations: 0.8438 kB / 0.8755 GB, free: 80.06 MB / 0.5573 GB Notification: Performance of Templates: time 0.06824/1.442, allocations: 50.95 MB / 0.9252 GB, free: 40.53 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)