Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.2 MB / 218.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008728/0.0008728, allocations: 93.55 kB / 266.6 MB, free: 9.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06687/0.06687, allocations: 12.59 MB / 327.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2819/0.2819, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.795e-05, allocations: 8 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1, allocations: 69.34 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4734, allocations: 118.4 MB / 0.7051 GB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4737, allocations: 84.39 kB / 0.7052 GB, free: 13.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.131/0.6046, allocations: 47.65 MB / 0.7517 GB, free: 5.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6046, allocations: 0 / 0.7517 GB, free: 5.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.6048, allocations: 36 kB / 0.7518 GB, free: 5.125 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005919/0.6107, allocations: 2.359 MB / 0.7541 GB, free: 2.879 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6107, allocations: 11.98 kB / 0.7541 GB, free: 2.867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.6139, allocations: 0.6065 MB / 0.7547 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.6159, allocations: 1.149 MB / 0.7558 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/0.6165, allocations: 0.5739 MB / 0.7564 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.6168, allocations: 132.2 kB / 0.7565 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.6195, allocations: 1.501 MB / 0.758 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6196, allocations: 0 / 0.758 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.6197, allocations: 56.23 kB / 0.758 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.6198, allocations: 32 kB / 0.758 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.6222, allocations: 1.365 MB / 0.7594 GB, free: 14.8 MB / 0.4948 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.01111/0.6334, allocations: 5.89 MB / 0.7651 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.6422, allocations: 3.523 MB / 0.7686 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.6439, allocations: 0.9047 MB / 0.7694 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.6444, allocations: 0.7414 MB / 0.7702 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.6462, allocations: 1.028 MB / 0.7712 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 3.407e-06/0.6462, allocations: 0 / 0.7712 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=156): time 0.01739/0.6636, allocations: 5.612 MB / 0.7767 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.6637, allocations: 179.5 kB / 0.7768 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.6658, allocations: 1.329 MB / 0.7781 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000299/0.6661, allocations: 57.69 kB / 0.7782 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.6667, allocations: 0.7388 MB / 0.7789 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/0.6673, allocations: 0.5353 MB / 0.7794 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.6674, allocations: 36.06 kB / 0.7795 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6676, allocations: 366 kB / 0.7798 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.6689, allocations: 0.7148 MB / 0.7805 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.6703, allocations: 0.9059 MB / 0.7814 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.6718, allocations: 0.8119 MB / 0.7822 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.6718, allocations: 4 kB / 0.7822 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004906/0.6767, allocations: 2.695 MB / 0.7848 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004379/0.6772, allocations: 1.405 MB / 0.7862 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6772, allocations: 7.984 kB / 0.7862 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.6874, allocations: 3.291 MB / 0.7894 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.6883, allocations: 175.7 kB / 0.7896 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.6947, allocations: 3.285 MB / 0.7928 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.697, allocations: 306.5 kB / 0.7931 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.6972, allocations: 63.98 kB / 0.7931 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.6972, allocations: 0 / 0.7931 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004582/0.7018, allocations: 2.583 MB / 0.7957 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7018, allocations: 7.953 kB / 0.7957 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7119, allocations: 3.28 MB / 0.7989 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.7127, allocations: 171.7 kB / 0.799 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.719, allocations: 3.2 MB / 0.8022 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.7214, allocations: 290.6 kB / 0.8024 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.7216, allocations: 59.97 kB / 0.8025 GB, free: 2.941 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.722, allocations: 230.2 kB / 0.8027 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.7224, allocations: 201.5 kB / 0.8029 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/0.7396, allocations: 5.779 MB / 0.8085 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.7397, allocations: 16 kB / 0.8086 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7397, allocations: 0 / 0.8086 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.154e-05/0.7397, allocations: 7.969 kB / 0.8086 GB, free: 12.68 MB / 0.5417 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.02065/0.7604, allocations: 8.395 MB / 0.8168 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.7604, allocations: 64 / 0.8168 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/0.7613, allocations: 147.8 kB / 0.8169 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007761/0.7691, allocations: 2.394 MB / 0.8192 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.7693, allocations: 43.94 kB / 0.8193 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.7886, allocations: 8.973 MB / 0.8281 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7886, allocations: 3.938 kB / 0.8281 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/0.808, allocations: 7.078 MB / 0.835 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.8086, allocations: 318.2 kB / 0.8353 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/0.809, allocations: 35.95 kB / 0.8353 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/0.8109, allocations: 223.7 kB / 0.8355 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008904/0.8118, allocations: 293.2 kB / 0.8358 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.8119, allocations: 47.98 kB / 0.8358 GB, free: 336 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001448/0.8134, allocations: 1.019 MB / 0.8368 GB, free: 15.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8134, allocations: 4 kB / 0.8368 GB, free: 15.31 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002075/0.8155, allocations: 0.9009 MB / 0.8377 GB, free: 14.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 {1 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000426/0.8159, allocations: 211.4 kB / 0.8379 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01422/0.8301, allocations: 5.031 MB / 0.8428 GB, free: 9.137 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8302, allocations: 3.938 kB / 0.8428 GB, free: 9.133 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006029/0.8362, allocations: 2.2 MB / 0.845 GB, free: 6.906 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8373, allocations: 149.9 kB / 0.8451 GB, free: 6.758 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.8424, allocations: 2.921 MB / 0.848 GB, free: 3.793 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/0.8432, allocations: 1.382 MB / 0.8493 GB, free: 2.379 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00121/0.8445, allocations: 267.7 kB / 0.8496 GB, free: 2.113 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.8447, allocations: 67.44 kB / 0.8497 GB, free: 2.051 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.8447, allocations: 3.938 kB / 0.8497 GB, free: 2.047 MB / 0.573 GB Notification: Performance of Templates: time 0.2986/1.143, allocations: 41.64 MB / 0.8903 GB, free: 179.4 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.pipe 2>&1)