Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 174.6 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.32/1.32, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008536/0.0008538, allocations: 88.67 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.5225/0.5225, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.65e-05, allocations: 7.984 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3466, allocations: 69.36 MB / 0.548 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4814, allocations: 116.2 MB / 0.6614 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4817, allocations: 87.95 kB / 0.6615 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4104/0.8921, allocations: 49.4 MB / 0.7097 GB, free: 101.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.8922, allocations: 0 / 0.7097 GB, free: 101.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.687e-05/0.8923, allocations: 43.88 kB / 0.7098 GB, free: 101 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005567/0.8979, allocations: 2.276 MB / 0.712 GB, free: 98.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8979, allocations: 15.97 kB / 0.712 GB, free: 98.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.901, allocations: 0.5816 MB / 0.7126 GB, free: 98.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.903, allocations: 1.147 MB / 0.7137 GB, free: 96.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.9034, allocations: 0.4964 MB / 0.7142 GB, free: 96.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.9036, allocations: 123.9 kB / 0.7143 GB, free: 96.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.9058, allocations: 1.39 MB / 0.7157 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.9059, allocations: 0 / 0.7157 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.906, allocations: 44 kB / 0.7157 GB, free: 94.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.906, allocations: 28 kB / 0.7157 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.908, allocations: 1.247 MB / 0.717 GB, free: 93.48 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.00879/0.9168, allocations: 5.585 MB / 0.7224 GB, free: 87.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.9241, allocations: 3.336 MB / 0.7257 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.9254, allocations: 0.7912 MB / 0.7264 GB, free: 83.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004919/0.9259, allocations: 0.7395 MB / 0.7272 GB, free: 82.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.9272, allocations: 0.9515 MB / 0.7281 GB, free: 81.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.346e-06/0.9273, allocations: 0 / 0.7281 GB, free: 81.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01483/0.9421, allocations: 5.116 MB / 0.7331 GB, free: 76.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.9422, allocations: 141.8 kB / 0.7332 GB, free: 76.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.9441, allocations: 1.291 MB / 0.7345 GB, free: 75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/0.9445, allocations: 49.7 kB / 0.7345 GB, free: 74.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.9449, allocations: 0.71 MB / 0.7352 GB, free: 74.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.9454, allocations: 499.7 kB / 0.7357 GB, free: 73.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.9455, allocations: 32 kB / 0.7357 GB, free: 73.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.9456, allocations: 361.9 kB / 0.7361 GB, free: 73.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.9466, allocations: 0.6523 MB / 0.7367 GB, free: 72.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.9478, allocations: 0.8608 MB / 0.7376 GB, free: 71.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.9489, allocations: 0.7322 MB / 0.7383 GB, free: 71.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.9489, allocations: 4 kB / 0.7383 GB, free: 71.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004192/0.9531, allocations: 2.377 MB / 0.7406 GB, free: 68.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.9534, allocations: 1.551 MB / 0.7421 GB, free: 66.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9534, allocations: 7.984 kB / 0.7421 GB, free: 66.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00798/0.9614, allocations: 2.64 MB / 0.7447 GB, free: 64.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.9626, allocations: 239.7 kB / 0.7449 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.9672, allocations: 2.922 MB / 0.7478 GB, free: 61.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.9698, allocations: 286.6 kB / 0.7481 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.9701, allocations: 59.97 kB / 0.7481 GB, free: 60.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9701, allocations: 4 kB / 0.7481 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003984/0.9741, allocations: 2.19 MB / 0.7503 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.9741, allocations: 4.375 kB / 0.7503 GB, free: 58.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007903/0.982, allocations: 2.659 MB / 0.7529 GB, free: 55.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.9832, allocations: 235.6 kB / 0.7531 GB, free: 55.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.9876, allocations: 2.899 MB / 0.7559 GB, free: 52.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.9899, allocations: 278.6 kB / 0.7562 GB, free: 52.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.9901, allocations: 59.91 kB / 0.7562 GB, free: 52.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003999/0.9906, allocations: 180.7 kB / 0.7564 GB, free: 52.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/0.9911, allocations: 185.7 kB / 0.7566 GB, free: 52.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/1.005, allocations: 5.209 MB / 0.7617 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.005, allocations: 12 kB / 0.7617 GB, free: 46.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.005, allocations: 4 kB / 0.7617 GB, free: 46.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/1.005, allocations: 3.984 kB / 0.7617 GB, free: 46.78 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 postOpt removeSimpleEquations (simulation): time 0.01799/1.023, allocations: 7.499 MB / 0.769 GB, free: 39.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.023, allocations: 0 / 0.769 GB, free: 39.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.024, allocations: 187.8 kB / 0.7692 GB, free: 39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005985/1.03, allocations: 2.006 MB / 0.7711 GB, free: 36.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003263/1.031, allocations: 31.98 kB / 0.7712 GB, free: 36.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/1.047, allocations: 7.85 MB / 0.7788 GB, free: 28.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.047, allocations: 0 / 0.7788 GB, free: 28.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.064, allocations: 6.31 MB / 0.785 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/1.064, allocations: 306.3 kB / 0.7853 GB, free: 22.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006231/1.065, allocations: 28 kB / 0.7853 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.067, allocations: 203.8 kB / 0.7855 GB, free: 22.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009407/1.068, allocations: 277.2 kB / 0.7858 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.068, allocations: 47.98 kB / 0.7858 GB, free: 21.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001604/1.07, allocations: 0.9898 MB / 0.7868 GB, free: 20.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.07, allocations: 3.938 kB / 0.7868 GB, free: 20.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002828/1.073, allocations: 0.8541 MB / 0.7876 GB, free: 19.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005205/1.073, allocations: 202.8 kB / 0.7878 GB, free: 19.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01225/1.086, allocations: 4.372 MB / 0.7921 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/1.086, allocations: 0 / 0.7921 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005375/1.091, allocations: 1.959 MB / 0.794 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.092, allocations: 144.3 kB / 0.7941 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/1.098, allocations: 2.797 MB / 0.7969 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/1.099, allocations: 1.341 MB / 0.7982 GB, free: 9.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001477/1.1, allocations: 274.9 kB / 0.7985 GB, free: 8.746 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.1, allocations: 75.42 kB / 0.7985 GB, free: 8.672 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/1.1, allocations: 0 / 0.7985 GB, free: 8.672 MB / 490.7 MB Notification: Performance of Templates: time 0.0557/1.156, allocations: 35.97 MB / 0.8337 GB, free: 4.723 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)