Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 172.5 kB / 7.647 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.524/1.523, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0008804/0.0008804, allocations: 93.92 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5497/0.5497, allocations: 78.94 MB / 410.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.01e-05, allocations: 4 kB / 485.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1609, allocations: 69.52 MB / 0.5424 GB, free: 5.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.6278, allocations: 116.2 MB / 0.656 GB, free: 13.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.628, allocations: 83.95 kB / 0.656 GB, free: 13.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.143/0.771, allocations: 51.02 MB / 0.7059 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7711, allocations: 0 / 0.7059 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002571/0.7713, allocations: 43.94 kB / 0.7059 GB, free: 10.72 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007986/0.7793, allocations: 2.477 MB / 0.7083 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7794, allocations: 12.03 kB / 0.7083 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.784, allocations: 0.7269 MB / 0.709 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/0.787, allocations: 1.293 MB / 0.7103 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005974/0.7876, allocations: 0.533 MB / 0.7108 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.7879, allocations: 91.91 kB / 0.7109 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002473/0.7903, allocations: 1.304 MB / 0.7122 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.7928, allocations: 1.374 MB / 0.7135 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.7929, allocations: 4 kB / 0.7135 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.793, allocations: 0 / 0.7135 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.7931, allocations: 35.98 kB / 0.7136 GB, free: 2.621 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.01169/0.8048, allocations: 6.111 MB / 0.7195 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008164/0.8129, allocations: 3.418 MB / 0.7229 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.8144, allocations: 0.8224 MB / 0.7237 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.8151, allocations: 0.7378 MB / 0.7244 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/0.8167, allocations: 0.9788 MB / 0.7253 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=159): time 3.046e-06/0.8167, allocations: 0 / 0.7253 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.01609/0.8328, allocations: 5.114 MB / 0.7303 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.8329, allocations: 141.8 kB / 0.7305 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.8359, allocations: 1.338 MB / 0.7318 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004721/0.8364, allocations: 25.7 kB / 0.7318 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/0.8372, allocations: 0.8212 MB / 0.7326 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/0.8382, allocations: 0.5388 MB / 0.7331 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.8384, allocations: 0 / 0.7331 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.8386, allocations: 373.9 kB / 0.7335 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.8402, allocations: 0.6758 MB / 0.7341 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.8418, allocations: 0.8936 MB / 0.735 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.8439, allocations: 0.7751 MB / 0.7358 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.8439, allocations: 4.75 kB / 0.7358 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.005504/0.8494, allocations: 2.357 MB / 0.7381 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007497/0.8502, allocations: 1.742 MB / 0.7398 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.8502, allocations: 4 kB / 0.7398 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008071/0.8583, allocations: 2.289 MB / 0.742 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.8599, allocations: 299.5 kB / 0.7423 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005079/0.865, allocations: 2.419 MB / 0.7447 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.8679, allocations: 270.5 kB / 0.7449 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.8683, allocations: 60.83 kB / 0.745 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8683, allocations: 4 kB / 0.745 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004769/0.8731, allocations: 2.123 MB / 0.7471 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.8732, allocations: 4 kB / 0.7471 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007839/0.881, allocations: 2.285 MB / 0.7493 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.8825, allocations: 295.6 kB / 0.7496 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.8874, allocations: 2.421 MB / 0.7519 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.8902, allocations: 250.6 kB / 0.7522 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/0.8906, allocations: 63.98 kB / 0.7522 GB, free: 10.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005762/0.8911, allocations: 139.5 kB / 0.7524 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007764/0.892, allocations: 208.7 kB / 0.7526 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/0.9082, allocations: 5.255 MB / 0.7577 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.9082, allocations: 16 kB / 0.7577 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9083, allocations: 0 / 0.7577 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/0.9083, allocations: 7.969 kB / 0.7577 GB, free: 4.492 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.4072/1.315, allocations: 7.59 MB / 0.7651 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.316, allocations: 0 / 0.7651 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.317, allocations: 224.8 kB / 0.7654 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006319/1.323, allocations: 1.99 MB / 0.7673 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000449/1.324, allocations: 16.97 kB / 0.7673 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/1.341, allocations: 7.706 MB / 0.7748 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.341, allocations: 6.578 kB / 0.7749 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.359, allocations: 6.406 MB / 0.7811 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.36, allocations: 326 kB / 0.7814 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/1.36, allocations: 5.156 kB / 0.7814 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.362, allocations: 185.6 kB / 0.7816 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009375/1.363, allocations: 290.8 kB / 0.7819 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.363, allocations: 47.38 kB / 0.7819 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001626/1.365, allocations: 1.013 MB / 0.7829 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.365, allocations: 0 / 0.7829 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002743/1.368, allocations: 0.8466 MB / 0.7837 GB, free: 126.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.0005107/1.368, allocations: 179.8 kB / 0.7839 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.382, allocations: 4.478 MB / 0.7883 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.382, allocations: 4.469 kB / 0.7883 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/1.389, allocations: 1.97 MB / 0.7902 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/1.392, allocations: 139.5 kB / 0.7903 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/1.399, allocations: 3.069 MB / 0.7933 GB, free: 125 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.4, allocations: 1.441 MB / 0.7948 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001997/1.402, allocations: 305.7 kB / 0.795 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/1.403, allocations: 85.3 kB / 0.7951 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.394e-06/1.403, allocations: 3.719 kB / 0.7951 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.05557/1.458, allocations: 33.53 MB / 0.8279 GB, free: 122.8 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)