Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008656, 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.527/1.527, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.001238/0.001238, allocations: 172.6 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5272/0.5272, allocations: 78.56 MB / 420.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003892, allocations: 8 kB / 0.4887 GB, free: 6.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1802, allocations: 69.37 MB / 0.5564 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.3629/0.5432, allocations: 8.267 MB / 0.5645 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007224/0.5505, allocations: 2.724 MB / 0.5672 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.5525, allocations: 24.56 kB / 0.5672 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5535, allocations: 241.8 kB / 0.5674 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.5569, allocations: 1.032 MB / 0.5684 GB, free: 36.57 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.5589, allocations: 0.7064 MB / 0.5691 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.5623, allocations: 2.36 MB / 0.5714 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000914/0.5632, allocations: 448.6 kB / 0.5718 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.565, allocations: 0.8271 MB / 0.5727 GB, free: 34.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.5663, allocations: 1.069 MB / 0.5737 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.5665, allocations: 96.34 kB / 0.5738 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007467/0.5673, allocations: 302.5 kB / 0.5741 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003431/0.5676, allocations: 390.8 kB / 0.5745 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.568, allocations: 333.8 kB / 0.5748 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.5698, allocations: 1.96 MB / 0.5767 GB, free: 33.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5698, allocations: 3.938 kB / 0.5767 GB, free: 33.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5698, allocations: 0.7188 kB / 0.5767 GB, free: 33.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.5698, allocations: 2.812 kB / 0.5767 GB, free: 33.18 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.01335/0.5832, allocations: 4.031 MB / 0.5806 GB, free: 31.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5833, allocations: 12.56 kB / 0.5806 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.5879, allocations: 0.7821 MB / 0.5814 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.5904, allocations: 1.154 MB / 0.5825 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004303/0.5908, allocations: 0.5084 MB / 0.583 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5911, allocations: 142 kB / 0.5832 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.5943, allocations: 1.768 MB / 0.5849 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.5943, allocations: 4.703 kB / 0.5849 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.5945, allocations: 51.47 kB / 0.5849 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.5945, allocations: 27.25 kB / 0.585 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.5981, allocations: 1.614 MB / 0.5865 GB, free: 29.01 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.01028/0.6084, allocations: 6.044 MB / 0.5924 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009489/0.6179, allocations: 3.69 MB / 0.596 GB, free: 24.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/0.621, allocations: 1.081 MB / 0.5971 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.6212, allocations: 27.5 kB / 0.5971 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002993/0.6242, allocations: 1.249 MB / 0.5984 GB, free: 23.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.306e-06/0.6242, allocations: 0 / 0.5984 GB, free: 23.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05262/0.6769, allocations: 15.74 MB / 0.6137 GB, free: 18.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.677, allocations: 196.4 kB / 0.6139 GB, free: 18.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.6799, allocations: 1.542 MB / 0.6154 GB, free: 17.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005792/0.6805, allocations: 57.7 kB / 0.6155 GB, free: 17.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.681, allocations: 0.7066 MB / 0.6162 GB, free: 16.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006511/0.6816, allocations: 0.5199 MB / 0.6167 GB, free: 16.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.6818, allocations: 44.98 kB / 0.6167 GB, free: 16.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6819, allocations: 382.2 kB / 0.6171 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.6842, allocations: 1.156 MB / 0.6182 GB, free: 14.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.6865, allocations: 1.407 MB / 0.6196 GB, free: 13.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.6888, allocations: 1.265 MB / 0.6208 GB, free: 11.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6888, allocations: 4 kB / 0.6208 GB, free: 11.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01078/0.6996, allocations: 4.736 MB / 0.6254 GB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.6999, allocations: 265.8 kB / 0.6257 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6999, allocations: 4.5 kB / 0.6257 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00847/0.7084, allocations: 3.099 MB / 0.6287 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.71, allocations: 315.5 kB / 0.629 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/0.7196, allocations: 5.434 MB / 0.6343 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.7226, allocations: 231.9 kB / 0.6346 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.7228, allocations: 75.98 kB / 0.6346 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.7229, allocations: 5.406 kB / 0.6346 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01052/0.7334, allocations: 4.46 MB / 0.639 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.7335, allocations: 4 kB / 0.639 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00891/0.7424, allocations: 3.043 MB / 0.642 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.7441, allocations: 320.8 kB / 0.6423 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.7545, allocations: 5.325 MB / 0.6475 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.7574, allocations: 223.8 kB / 0.6477 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.7577, allocations: 71.98 kB / 0.6478 GB, free: 15.79 MB / 462.1 MB 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,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * 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 6,29 44} Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.7588, allocations: 420.8 kB / 0.6482 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.7591, allocations: 177.8 kB / 0.6483 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.776, allocations: 6.254 MB / 0.6544 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.7761, allocations: 16 kB / 0.6544 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7761, allocations: 0 / 0.6544 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/0.7762, allocations: 11.97 kB / 0.6545 GB, free: 8.891 MB / 462.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.02066/0.7968, allocations: 8.569 MB / 0.6628 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.7969, allocations: 5.578 kB / 0.6628 GB, free: 180 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.798, allocations: 167.8 kB / 0.663 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007799/0.8058, allocations: 2.659 MB / 0.6656 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003188/0.8062, allocations: 35.98 kB / 0.6656 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02671/0.8329, allocations: 12.4 MB / 0.6777 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.8329, allocations: 4.031 kB / 0.6777 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/0.853, allocations: 7.591 MB / 0.6852 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.8542, allocations: 270.6 kB / 0.6854 GB, free: 8.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000458/0.8547, allocations: 35.92 kB / 0.6854 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8563, allocations: 207.8 kB / 0.6856 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/0.8573, allocations: 317.1 kB / 0.6859 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.8575, allocations: 40.92 kB / 0.686 GB, free: 8.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00164/0.8591, allocations: 1.018 MB / 0.687 GB, free: 7.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8591, allocations: 0 / 0.687 GB, free: 7.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002615/0.8617, allocations: 0.8673 MB / 0.6878 GB, free: 6.258 MB / 494.1 MB 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,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (98): * Single equations (assignments): 96 * 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 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003507/0.8621, allocations: 155 kB / 0.688 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01636/0.8785, allocations: 6.413 MB / 0.6942 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.8785, allocations: 1.875 kB / 0.6942 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006562/0.8851, allocations: 2.433 MB / 0.6966 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/0.887, allocations: 167.6 kB / 0.6968 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/0.8951, allocations: 4.188 MB / 0.7009 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.8961, allocations: 1.341 MB / 0.7022 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/0.8969, allocations: 107.4 kB / 0.7023 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.8969, allocations: 4 kB / 0.7023 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of Templates: time 0.05351/0.9504, allocations: 36.51 MB / 0.7379 GB, free: 2.898 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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_OpenIPSL.Tests.Controls.PSSE.TG.HYGOVCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOVCalcHelperMain.o] Error 1