Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 239.7 MB, free: 5.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 176.6 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6426/0.6426, allocations: 79.49 MB / 421.5 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004808, allocations: 8 kB / 0.4897 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1665, allocations: 69.52 MB / 0.5576 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.3701/0.5366, allocations: 7.325 MB / 0.5648 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006313/0.543, allocations: 2.41 MB / 0.5671 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.5451, allocations: 12.66 kB / 0.5671 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.5462, allocations: 217.9 kB / 0.5674 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.5493, allocations: 0.8163 MB / 0.5682 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.5513, allocations: 0.6292 MB / 0.5688 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.5543, allocations: 1.888 MB / 0.5706 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.5549, allocations: 305.1 kB / 0.5709 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.5563, allocations: 0.7206 MB / 0.5716 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.5575, allocations: 0.9683 MB / 0.5726 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.5577, allocations: 89.34 kB / 0.5726 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000713/0.5584, allocations: 244 kB / 0.5729 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.5587, allocations: 341.1 kB / 0.5732 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.5591, allocations: 275.7 kB / 0.5735 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.5608, allocations: 1.613 MB / 0.575 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.5608, allocations: 0 / 0.575 GB, free: 33.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.5609, allocations: 6.812 kB / 0.575 GB, free: 33.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.986e-05/0.5609, allocations: 0 / 0.575 GB, free: 33.46 MB / 430.1 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.01139/0.5723, allocations: 3.318 MB / 0.5783 GB, free: 32.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5724, allocations: 7.906 kB / 0.5783 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/0.5771, allocations: 0.7503 MB / 0.579 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.5794, allocations: 1.038 MB / 0.58 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004048/0.5798, allocations: 437.9 kB / 0.5805 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.58, allocations: 102.1 kB / 0.5805 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.5828, allocations: 1.445 MB / 0.582 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5828, allocations: 0 / 0.582 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.5829, allocations: 41.27 kB / 0.582 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.583, allocations: 23.56 kB / 0.582 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.5858, allocations: 1.381 MB / 0.5834 GB, free: 30 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.008966/0.5948, allocations: 4.743 MB / 0.588 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009083/0.6039, allocations: 3.45 MB / 0.5914 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/0.6066, allocations: 0.9788 MB / 0.5923 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.6068, allocations: 17.67 kB / 0.5923 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/0.6094, allocations: 1.127 MB / 0.5934 GB, free: 25.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.456e-06/0.6094, allocations: 0 / 0.5934 GB, free: 25.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04857/0.658, allocations: 12.02 MB / 0.6052 GB, free: 23.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.6581, allocations: 119 kB / 0.6053 GB, free: 23.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005361/0.6635, allocations: 1.339 MB / 0.6066 GB, free: 22.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006535/0.6642, allocations: 59.83 kB / 0.6067 GB, free: 22.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008925/0.6651, allocations: 0.5658 MB / 0.6072 GB, free: 22.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.6664, allocations: 449.7 kB / 0.6076 GB, free: 21.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007085/0.6672, allocations: 36.03 kB / 0.6077 GB, free: 21.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003049/0.6675, allocations: 370.8 kB / 0.608 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/0.6716, allocations: 1.03 MB / 0.609 GB, free: 21.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004238/0.6759, allocations: 1.221 MB / 0.6102 GB, free: 20.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.68, allocations: 1.107 MB / 0.6113 GB, free: 20.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.68, allocations: 1.344 kB / 0.6113 GB, free: 20.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0152/0.6952, allocations: 3.99 MB / 0.6152 GB, free: 17.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.6953, allocations: 4 kB / 0.6152 GB, free: 17.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.6954, allocations: 4 kB / 0.6152 GB, free: 17.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008916/0.7043, allocations: 3.068 MB / 0.6182 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.7059, allocations: 295.6 kB / 0.6185 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.7118, allocations: 3.01 MB / 0.6214 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.7146, allocations: 290.3 kB / 0.6217 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/0.715, allocations: 63.98 kB / 0.6218 GB, free: 10.89 MB / 430.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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.001167/0.7162, allocations: 289.5 kB / 0.622 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/0.717, allocations: 159.5 kB / 0.6222 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/0.7322, allocations: 5.8 MB / 0.6279 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/0.7323, allocations: 16 kB / 0.6279 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.7323, allocations: 0 / 0.6279 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-05/0.7324, allocations: 7.969 kB / 0.6279 GB, free: 4.602 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02048/0.7528, allocations: 7.903 MB / 0.6356 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.7529, allocations: 0 / 0.6356 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.7539, allocations: 135.8 kB / 0.6357 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007719/0.7617, allocations: 2.514 MB / 0.6382 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003612/0.7621, allocations: 31.98 kB / 0.6382 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02873/0.7908, allocations: 10.31 MB / 0.6483 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7909, allocations: 4 kB / 0.6483 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/0.8113, allocations: 7.02 MB / 0.6551 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/0.8123, allocations: 271.4 kB / 0.6554 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000742/0.8131, allocations: 35.92 kB / 0.6554 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.8152, allocations: 181.7 kB / 0.6556 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/0.8162, allocations: 257.2 kB / 0.6559 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.8164, allocations: 35.98 kB / 0.6559 GB, free: 7.578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002248/0.8187, allocations: 0.9017 MB / 0.6568 GB, free: 6.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8187, allocations: 0 / 0.6568 GB, free: 6.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002643/0.8213, allocations: 0.5112 MB / 0.6573 GB, free: 6.164 MB / 462.1 MB 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 () * Number of clocked 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.0004506/0.8218, allocations: 156.4 kB / 0.6574 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009588/0.8314, allocations: 3.125 MB / 0.6605 GB, free: 2.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.8315, allocations: 256 / 0.6605 GB, free: 2.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006314/0.8378, allocations: 2.149 MB / 0.6626 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.8398, allocations: 134 kB / 0.6627 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.8471, allocations: 3.508 MB / 0.6661 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8482, allocations: 1.208 MB / 0.6673 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.8488, allocations: 91.42 kB / 0.6674 GB, free: 11.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.154e-06/0.8488, allocations: 0 / 0.6674 GB, free: 11.8 MB / 478.1 MB Notification: Performance of Templates: time 0.04701/0.8959, allocations: 24.83 MB / 0.6916 GB, free: 3.105 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1CalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1CalcHelperMain.o] Error 1