Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001134/0.001134, allocations: 176.2 kB / 7.643 MB, free: 1.414 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.245/1.245, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009075/0.0009074, allocations: 94.97 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4839/0.4839, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.587e-05, allocations: 4 kB / 484.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 69.36 MB / 0.5413 GB, free: 6.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.5162, allocations: 99.58 MB / 0.6385 GB, free: 15.99 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5164, allocations: 81.36 kB / 0.6386 GB, free: 15.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.178/0.6944, allocations: 68.46 MB / 0.7054 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6945, allocations: 0 / 0.7054 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001651/0.6946, allocations: 61.34 kB / 0.7055 GB, free: 11.29 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.01614/0.7108, allocations: 4.035 MB / 0.7094 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7109, allocations: 8.031 kB / 0.7095 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.7255, allocations: 1.596 MB / 0.711 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/0.7316, allocations: 1.642 MB / 0.7126 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/0.7327, allocations: 0.6667 MB / 0.7133 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.7336, allocations: 127.9 kB / 0.7134 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0072/0.7408, allocations: 2.215 MB / 0.7156 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/0.7465, allocations: 2.279 MB / 0.7178 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.7466, allocations: 3.938 kB / 0.7178 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.7468, allocations: 7.953 kB / 0.7178 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.7469, allocations: 48 kB / 0.7178 GB, free: 14.32 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.01902/0.7659, allocations: 9.577 MB / 0.7272 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.7754, allocations: 4.098 MB / 0.7312 GB, free: 116 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002941/0.7784, allocations: 1.465 MB / 0.7326 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.7788, allocations: 50.52 kB / 0.7327 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003231/0.782, allocations: 1.706 MB / 0.7343 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 5.17e-06/0.7821, allocations: 4 kB / 0.7343 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03857/0.8206, allocations: 12.32 MB / 0.7464 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.8208, allocations: 184.3 kB / 0.7465 GB, free: 300 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.8238, allocations: 1.693 MB / 0.7482 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006616/0.8245, allocations: 26.83 kB / 0.7482 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000897/0.8254, allocations: 1.204 MB / 0.7494 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.8265, allocations: 0.8236 MB / 0.7502 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.8267, allocations: 0 / 0.7502 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.8268, allocations: 399 kB / 0.7506 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.8289, allocations: 1.204 MB / 0.7518 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.8311, allocations: 1.51 MB / 0.7532 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.8334, allocations: 1.332 MB / 0.7545 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.8334, allocations: 0 / 0.7545 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3329/1.166, allocations: 12.27 MB / 0.7665 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/1.166, allocations: 114.9 kB / 0.7666 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.166, allocations: 8.281 kB / 0.7666 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/1.182, allocations: 4.975 MB / 0.7715 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.184, allocations: 419.2 kB / 0.7719 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03788/1.222, allocations: 17.54 MB / 0.789 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/1.226, allocations: 498.9 kB / 0.7895 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004484/1.227, allocations: 92.78 kB / 0.7896 GB, free: 111.1 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.0006379/1.227, allocations: 210 kB / 0.7898 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/1.228, allocations: 298.4 kB / 0.7901 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03867/1.267, allocations: 12.6 MB / 0.8024 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/1.267, allocations: 25.53 kB / 0.8024 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.037e-05/1.267, allocations: 23.45 kB / 0.8024 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.713e-05/1.267, allocations: 17.52 kB / 0.8024 GB, free: 110.4 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.04088/1.308, allocations: 15.93 MB / 0.818 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.308, allocations: 2.344 kB / 0.818 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.31, allocations: 247.8 kB / 0.8182 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/1.324, allocations: 4.932 MB / 0.8231 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007945/1.325, allocations: 23.36 kB / 0.8231 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03468/1.359, allocations: 19 MB / 0.8416 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.359, allocations: 5.75 kB / 0.8416 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03729/1.397, allocations: 14.59 MB / 0.8559 GB, free: 94.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.398, allocations: 407.1 kB / 0.8563 GB, free: 94.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006715/1.399, allocations: 5.562 kB / 0.8563 GB, free: 94.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/1.402, allocations: 372.1 kB / 0.8566 GB, free: 94.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/1.404, allocations: 0.5809 MB / 0.8572 GB, free: 94.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.404, allocations: 67.12 kB / 0.8573 GB, free: 94.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001758/1.406, allocations: 1.261 MB / 0.8585 GB, free: 93.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.406, allocations: 4.406 kB / 0.8585 GB, free: 93.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003957/1.41, allocations: 1 MB / 0.8595 GB, free: 93.74 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.0004198/1.41, allocations: 157.1 kB / 0.8596 GB, free: 93.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.423, allocations: 5.564 MB / 0.865 GB, free: 88.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.423, allocations: 1.75 kB / 0.8651 GB, free: 88.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.434, allocations: 4.258 MB / 0.8692 GB, free: 84.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/1.437, allocations: 191.5 kB / 0.8694 GB, free: 84.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0065/1.443, allocations: 3.97 MB / 0.8733 GB, free: 80.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009879/1.444, allocations: 1.862 MB / 0.8751 GB, free: 79.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008775/1.445, allocations: 214.4 kB / 0.8753 GB, free: 79.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/1.445, allocations: 139.3 kB / 0.8754 GB, free: 79.24 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/1.445, allocations: 0 / 0.8754 GB, free: 79.24 MB / 0.5573 GB Notification: Performance of Templates: time 0.06467/1.51, allocations: 50.94 MB / 0.9252 GB, free: 39.59 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)