Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 175 kB / 12.73 MB, free: 2.59 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.333/1.333, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 92.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4498/0.4498, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.215e-05/7.226e-05, allocations: 7.984 kB / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 69.35 MB / 0.5479 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4653, allocations: 112.6 MB / 0.6579 GB, free: 3.793 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4656, allocations: 79.95 kB / 0.658 GB, free: 3.715 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5533/1.019, allocations: 128.8 MB / 0.7837 GB, free: 23.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.019, allocations: 0 / 0.7837 GB, free: 23.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002741/1.019, allocations: 91.88 kB / 0.7838 GB, free: 23.75 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.01322/1.032, allocations: 5.171 MB / 0.7889 GB, free: 18.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.032, allocations: 11.97 kB / 0.7889 GB, free: 18.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/1.04, allocations: 1.465 MB / 0.7903 GB, free: 17.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/1.048, allocations: 2.993 MB / 0.7932 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009016/1.049, allocations: 1.008 MB / 0.7942 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/1.05, allocations: 291.9 kB / 0.7945 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/1.056, allocations: 3.43 MB / 0.7979 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/1.056, allocations: 3.938 kB / 0.7979 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/1.056, allocations: 116 kB / 0.798 GB, free: 8.898 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/1.056, allocations: 64 kB / 0.798 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/1.061, allocations: 3.192 MB / 0.8011 GB, free: 5.633 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.02829/1.089, allocations: 15.37 MB / 0.8162 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.104, allocations: 6.225 MB / 0.8222 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/1.108, allocations: 1.952 MB / 0.8241 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009304/1.109, allocations: 0.766 MB / 0.8249 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004855/1.114, allocations: 2.373 MB / 0.8272 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=331): time 5.701e-06/1.114, allocations: 0 / 0.8272 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.03555/1.15, allocations: 11.8 MB / 0.8387 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/1.15, allocations: 192.7 kB / 0.8389 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/1.156, allocations: 3.705 MB / 0.8425 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008733/1.157, allocations: 89.69 kB / 0.8426 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.159, allocations: 1.87 MB / 0.8444 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.16, allocations: 1.163 MB / 0.8456 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.16, allocations: 76.12 kB / 0.8457 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.161, allocations: 446 kB / 0.8461 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/1.164, allocations: 1.753 MB / 0.8478 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/1.167, allocations: 2.129 MB / 0.8499 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.17, allocations: 1.912 MB / 0.8517 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.17, allocations: 4 kB / 0.8517 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01126/1.182, allocations: 5.915 MB / 0.8575 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.182, allocations: 11.98 kB / 0.8575 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/1.182, allocations: 11.98 kB / 0.8575 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/1.205, allocations: 9.915 MB / 0.8672 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/1.209, allocations: 0.589 MB / 0.8678 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.22, allocations: 5.212 MB / 0.8729 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006308/1.227, allocations: 0.6995 MB / 0.8736 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005063/1.227, allocations: 136 kB / 0.8737 GB, free: 9.992 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {80 72} Notification: Performance of prepare postOptimizeDAE: time 0.0007201/1.228, allocations: 280.4 kB / 0.874 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.229, allocations: 474.1 kB / 0.8744 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03537/1.265, allocations: 12.19 MB / 0.8863 GB, free: 12.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/1.265, allocations: 32 kB / 0.8864 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.265, allocations: 7.953 kB / 0.8864 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/1.265, allocations: 15.94 kB / 0.8864 GB, free: 12.93 MB / 0.573 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.3268/1.592, allocations: 18.11 MB / 0.9041 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/1.592, allocations: 0 / 0.9041 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/1.595, allocations: 430 kB / 0.9045 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01369/1.608, allocations: 4.422 MB / 0.9088 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008/1.609, allocations: 82.58 kB / 0.9089 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03289/1.642, allocations: 16.44 MB / 0.9249 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.642, allocations: 0 / 0.9249 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03605/1.678, allocations: 14.87 MB / 0.9394 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.68, allocations: 0.7018 MB / 0.9401 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.681, allocations: 77.94 kB / 0.9402 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004604/1.686, allocations: 0.4888 MB / 0.9407 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002279/1.688, allocations: 0.6225 MB / 0.9413 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/1.688, allocations: 89.91 kB / 0.9414 GB, free: 127 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004224/1.693, allocations: 2.796 MB / 0.9441 GB, free: 126.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.693, allocations: 0 / 0.9441 GB, free: 126.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004103/1.697, allocations: 1.276 MB / 0.9454 GB, free: 126.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (238): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007843/1.698, allocations: 406.6 kB / 0.9457 GB, free: 126.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.712, allocations: 6.102 MB / 0.9517 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.712, allocations: 0 / 0.9517 GB, free: 124.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/1.722, allocations: 4.318 MB / 0.9559 GB, free: 123 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.725, allocations: 391 kB / 0.9563 GB, free: 122.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.737, allocations: 7.422 MB / 0.9635 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.739, allocations: 2.432 MB / 0.9659 GB, free: 118.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002142/1.741, allocations: 402.2 kB / 0.9663 GB, free: 118.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.742, allocations: 236.5 kB / 0.9665 GB, free: 118.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/1.742, allocations: 0 / 0.9665 GB, free: 118.4 MB / 0.573 GB Notification: Performance of Templates: time 0.08575/1.828, allocations: 67.68 MB / 1.033 GB, free: 71.86 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1)