Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 174.1 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.232/1.232, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008158/0.0008158, allocations: 82.67 kB / 266.6 MB, free: 9.289 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.06597/0.06597, allocations: 12.6 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2847/0.2847, allocations: 78.03 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.776e-05, allocations: 4 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09822, allocations: 69.33 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4642, allocations: 111.2 MB / 0.698 GB, free: 4.398 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4645, allocations: 92.14 kB / 0.6981 GB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.574, allocations: 39.89 MB / 0.7371 GB, free: 2.812 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.574, allocations: 0 / 0.7371 GB, free: 2.812 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.484e-05/0.5741, allocations: 24 kB / 0.7371 GB, free: 2.789 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005212/0.5793, allocations: 2.001 MB / 0.7391 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5793, allocations: 15.98 kB / 0.7391 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.5823, allocations: 0.547 MB / 0.7396 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5839, allocations: 0.9458 MB / 0.7405 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000414/0.5843, allocations: 427.4 kB / 0.7409 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.5845, allocations: 96.66 kB / 0.741 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.5865, allocations: 1.164 MB / 0.7422 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5866, allocations: 4 kB / 0.7422 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.5867, allocations: 33.86 kB / 0.7422 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.5867, allocations: 27.94 kB / 0.7422 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.5886, allocations: 1.092 MB / 0.7433 GB, free: 13.6 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.007828/0.5964, allocations: 4.648 MB / 0.7478 GB, free: 9.961 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007901/0.6043, allocations: 3.122 MB / 0.7509 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.6055, allocations: 0.7218 MB / 0.7516 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.6056, allocations: 24.28 kB / 0.7516 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.6069, allocations: 0.8648 MB / 0.7525 GB, free: 6.141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=124): time 3.096e-06/0.6069, allocations: 4 kB / 0.7525 GB, free: 6.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=124): time 0.01542/0.6224, allocations: 4.952 MB / 0.7573 GB, free: 1.812 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.6224, allocations: 119.8 kB / 0.7574 GB, free: 1.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.6243, allocations: 1.11 MB / 0.7585 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.6245, allocations: 45.7 kB / 0.7585 GB, free: 0.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.625, allocations: 0.6007 MB / 0.7591 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/0.6256, allocations: 445.6 kB / 0.7595 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.6257, allocations: 24 kB / 0.7596 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6258, allocations: 349.9 kB / 0.7599 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.6268, allocations: 0.565 MB / 0.7605 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.6279, allocations: 0.7335 MB / 0.7612 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.629, allocations: 0.6141 MB / 0.7618 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.629, allocations: 0 / 0.7618 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003848/0.6329, allocations: 2.04 MB / 0.7638 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6329, allocations: 19.28 kB / 0.7638 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6329, allocations: 4 kB / 0.7638 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00856/0.6415, allocations: 2.546 MB / 0.7663 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.6423, allocations: 187.7 kB / 0.7665 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/0.6467, allocations: 2.249 MB / 0.7686 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.6485, allocations: 246.8 kB / 0.7689 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6486, allocations: 43.98 kB / 0.7689 GB, free: 5.754 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.6489, allocations: 168.8 kB / 0.7691 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.6492, allocations: 158 kB / 0.7692 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/0.6646, allocations: 5.112 MB / 0.7742 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.6646, allocations: 12 kB / 0.7742 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6647, allocations: 0 / 0.7742 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.6647, allocations: 7.938 kB / 0.7742 GB, free: 276 kB / 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 postOpt removeSimpleEquations (simulation): time 0.01784/0.6825, allocations: 7.103 MB / 0.7812 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6826, allocations: 4.031 kB / 0.7812 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.6834, allocations: 139.7 kB / 0.7813 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00633/0.6898, allocations: 2.005 MB / 0.7833 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.69, allocations: 31.98 kB / 0.7833 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.7078, allocations: 7.845 MB / 0.791 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7078, allocations: 0 / 0.791 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/0.7249, allocations: 6.014 MB / 0.7968 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/0.7256, allocations: 274.8 kB / 0.7971 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.7258, allocations: 28 kB / 0.7971 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.7275, allocations: 183.8 kB / 0.7973 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007752/0.7283, allocations: 253.3 kB / 0.7976 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.7284, allocations: 35.98 kB / 0.7976 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001292/0.7297, allocations: 0.8571 MB / 0.7984 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7297, allocations: 0 / 0.7984 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001269/0.731, allocations: 491.4 kB / 0.7989 GB, free: 6.676 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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.0003387/0.7314, allocations: 186.9 kB / 0.7991 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006658/0.738, allocations: 2.276 MB / 0.8013 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7381, allocations: 4.062 kB / 0.8013 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005697/0.7438, allocations: 1.869 MB / 0.8031 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7448, allocations: 125 kB / 0.8032 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.7492, allocations: 2.333 MB / 0.8055 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.7499, allocations: 1.234 MB / 0.8067 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000584/0.7505, allocations: 116.1 kB / 0.8068 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.7508, allocations: 83.41 kB / 0.8069 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.7509, allocations: 4 kB / 0.8069 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.03804/0.7889, allocations: 23.95 MB / 0.8303 GB, free: 6.398 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)