Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008662/0.0008662, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.381/1.381, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008752/0.0008751, allocations: 91.39 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5341/0.5341, allocations: 78.93 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.788e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 69.52 MB / 0.5424 GB, free: 5.895 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5046/0.6783, allocations: 116.2 MB / 0.6559 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.6786, allocations: 94.84 kB / 0.656 GB, free: 13.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1349/0.8135, allocations: 46.73 MB / 0.7016 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8136, allocations: 4 kB / 0.7016 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000134/0.8137, allocations: 31.94 kB / 0.7016 GB, free: 15.07 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.008059/0.8218, allocations: 2.276 MB / 0.7039 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8219, allocations: 8.031 kB / 0.7039 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007019/0.8289, allocations: 0.7546 MB / 0.7046 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004018/0.8329, allocations: 1.2 MB / 0.7058 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006916/0.8337, allocations: 464.3 kB / 0.7062 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.8341, allocations: 68 kB / 0.7063 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002894/0.837, allocations: 1.188 MB / 0.7074 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.8391, allocations: 1.226 MB / 0.7086 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8392, allocations: 0 / 0.7086 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.8393, allocations: 0 / 0.7086 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.8393, allocations: 28 kB / 0.7087 GB, free: 7.633 MB / 0.5105 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.01153/0.8509, allocations: 5.498 MB / 0.714 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008089/0.859, allocations: 3.289 MB / 0.7172 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.8605, allocations: 0.7523 MB / 0.718 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.8612, allocations: 0.7336 MB / 0.7187 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/0.8629, allocations: 0.9068 MB / 0.7196 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=139): time 4.078e-06/0.8629, allocations: 3.938 kB / 0.7196 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.01643/0.8793, allocations: 5.02 MB / 0.7245 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.8795, allocations: 149.8 kB / 0.7246 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.8816, allocations: 1.222 MB / 0.7258 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.882, allocations: 26.83 kB / 0.7259 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.8826, allocations: 0.7028 MB / 0.7265 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006617/0.8833, allocations: 488.8 kB / 0.727 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8834, allocations: 0 / 0.727 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8835, allocations: 369.9 kB / 0.7274 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.8846, allocations: 0.6211 MB / 0.728 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.8858, allocations: 0.8177 MB / 0.7288 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.8873, allocations: 0.7048 MB / 0.7295 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.8873, allocations: 0 / 0.7295 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004533/0.8919, allocations: 2.256 MB / 0.7317 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.8925, allocations: 1.538 MB / 0.7332 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8925, allocations: 4 kB / 0.7332 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008016/0.9006, allocations: 2.392 MB / 0.7355 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.9019, allocations: 235.6 kB / 0.7357 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.9075, allocations: 3.078 MB / 0.7387 GB, free: 8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.9101, allocations: 258.6 kB / 0.739 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.9104, allocations: 55.97 kB / 0.739 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9104, allocations: 4 kB / 0.739 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004168/0.9146, allocations: 2.046 MB / 0.741 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9146, allocations: 4 kB / 0.741 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008313/0.9229, allocations: 2.379 MB / 0.7434 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9242, allocations: 227.7 kB / 0.7436 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.93, allocations: 3.081 MB / 0.7466 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.9327, allocations: 246.7 kB / 0.7468 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.9329, allocations: 51.98 kB / 0.7469 GB, free: 15.6 MB / 0.5573 GB 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 (123): * Single equations (assignments): 121 * 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.0004236/0.9333, allocations: 134.9 kB / 0.747 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.9338, allocations: 177.8 kB / 0.7472 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.9495, allocations: 5.088 MB / 0.7521 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/0.9496, allocations: 16 kB / 0.7521 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.9496, allocations: 0 / 0.7521 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/0.9497, allocations: 11.86 kB / 0.7522 GB, free: 10.16 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.02089/0.9706, allocations: 7.294 MB / 0.7593 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.9706, allocations: 10.3 kB / 0.7593 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/0.9719, allocations: 183.7 kB / 0.7595 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006809/0.9788, allocations: 1.986 MB / 0.7614 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004451/0.9792, allocations: 15.98 kB / 0.7614 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3356/1.315, allocations: 7.702 MB / 0.7689 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.315, allocations: 0 / 0.7689 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/1.331, allocations: 6.198 MB / 0.775 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/1.332, allocations: 300.3 kB / 0.7753 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.332, allocations: 2.906 kB / 0.7753 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.334, allocations: 185.3 kB / 0.7755 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000876/1.335, allocations: 290.4 kB / 0.7757 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.335, allocations: 33.25 kB / 0.7758 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001468/1.337, allocations: 0.9309 MB / 0.7767 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.337, allocations: 0 / 0.7767 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002267/1.339, allocations: 0.7851 MB / 0.7774 GB, free: 132 MB / 0.5573 GB 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.0004128/1.339, allocations: 178 kB / 0.7776 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.352, allocations: 4.232 MB / 0.7817 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.352, allocations: 0 / 0.7817 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005734/1.358, allocations: 1.904 MB / 0.7836 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/1.359, allocations: 118.3 kB / 0.7837 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/1.364, allocations: 2.71 MB / 0.7864 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/1.365, allocations: 1.341 MB / 0.7877 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001386/1.366, allocations: 270.6 kB / 0.7879 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/1.367, allocations: 73.95 kB / 0.788 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/1.367, allocations: 1.031 kB / 0.788 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.05513/1.422, allocations: 33.3 MB / 0.8205 GB, free: 128.5 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)