Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 102.1 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.507/1.507, 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.001584/0.001585, allocations: 183.5 kB / 290.9 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5781/0.5781, allocations: 79.47 MB / 421.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004317, allocations: 8 kB / 0.4897 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 69.52 MB / 0.5576 GB, free: 52 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.3767/0.5663, allocations: 6.463 MB / 0.5639 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.5712, allocations: 2.169 MB / 0.566 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.5724, allocations: 13.19 kB / 0.5661 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.573, allocations: 192.8 kB / 0.5662 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.5754, allocations: 0.8548 MB / 0.5671 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.5766, allocations: 0.4889 MB / 0.5676 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.5786, allocations: 1.583 MB / 0.5691 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.5791, allocations: 262.6 kB / 0.5694 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009568/0.5801, allocations: 0.6196 MB / 0.57 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009818/0.5811, allocations: 0.8543 MB / 0.5708 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.5813, allocations: 79.59 kB / 0.5709 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.5819, allocations: 239.7 kB / 0.5711 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.5822, allocations: 295.6 kB / 0.5714 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.5824, allocations: 244.9 kB / 0.5716 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.5835, allocations: 1.354 MB / 0.5729 GB, free: 34.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5836, allocations: 0 / 0.5729 GB, free: 34.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5836, allocations: 0 / 0.5729 GB, free: 34.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.5836, allocations: 0 / 0.5729 GB, free: 34.48 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.009634/0.5932, allocations: 3.099 MB / 0.576 GB, free: 33.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5933, allocations: 11.31 kB / 0.576 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.5978, allocations: 0.7314 MB / 0.5767 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.5997, allocations: 0.8728 MB / 0.5775 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.6001, allocations: 368.7 kB / 0.5779 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6003, allocations: 95.86 kB / 0.578 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.6027, allocations: 1.292 MB / 0.5792 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6028, allocations: 2.906 kB / 0.5792 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.6029, allocations: 31.88 kB / 0.5793 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.6029, allocations: 22.33 kB / 0.5793 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.6052, allocations: 1.25 MB / 0.5805 GB, free: 31.4 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.007176/0.6124, allocations: 4.197 MB / 0.5846 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/0.6201, allocations: 3.231 MB / 0.5878 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.6222, allocations: 0.9063 MB / 0.5887 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.6223, allocations: 27.48 kB / 0.5887 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6224, allocations: 48.28 kB / 0.5887 GB, free: 27.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.845e-06/0.6224, allocations: 1.188 kB / 0.5887 GB, free: 27.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04495/0.6673, allocations: 12.26 MB / 0.6007 GB, free: 25.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.6675, allocations: 94.19 kB / 0.6008 GB, free: 25.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.6705, allocations: 1.104 MB / 0.6019 GB, free: 25.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004454/0.671, allocations: 45.98 kB / 0.6019 GB, free: 25.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.6716, allocations: 0.4947 MB / 0.6024 GB, free: 24.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007799/0.6724, allocations: 393.8 kB / 0.6028 GB, free: 24.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.6726, allocations: 38.41 kB / 0.6028 GB, free: 24.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6728, allocations: 365.2 kB / 0.6032 GB, free: 24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.6751, allocations: 0.9328 MB / 0.6041 GB, free: 23.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.6775, allocations: 1.115 MB / 0.6052 GB, free: 23.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.6799, allocations: 1.009 MB / 0.6061 GB, free: 22.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.68, allocations: 1.156 kB / 0.6061 GB, free: 22.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01808/0.698, allocations: 6.103 MB / 0.6121 GB, free: 20.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.6981, allocations: 10.59 kB / 0.6121 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6981, allocations: 4 kB / 0.6121 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008541/0.7067, allocations: 2.981 MB / 0.615 GB, free: 17.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.708, allocations: 244.3 kB / 0.6153 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.714, allocations: 2.961 MB / 0.6182 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.7163, allocations: 238.7 kB / 0.6184 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/0.7167, allocations: 51.98 kB / 0.6184 GB, free: 14.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008569/0.7175, allocations: 265.5 kB / 0.6187 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.7181, allocations: 130.3 kB / 0.6188 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.7318, allocations: 5.606 MB / 0.6243 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.7319, allocations: 12 kB / 0.6243 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.7319, allocations: 3.953 kB / 0.6243 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-05/0.732, allocations: 3.984 kB / 0.6243 GB, free: 8.371 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.01693/0.7489, allocations: 7.39 MB / 0.6315 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.749, allocations: 4 kB / 0.6315 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.7496, allocations: 116.9 kB / 0.6316 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007643/0.7573, allocations: 2.507 MB / 0.6341 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/0.7577, allocations: 20 kB / 0.6341 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02653/0.7842, allocations: 10.3 MB / 0.6442 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7843, allocations: 3.938 kB / 0.6442 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/0.8032, allocations: 6.768 MB / 0.6508 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.8039, allocations: 241.2 kB / 0.651 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/0.8045, allocations: 24 kB / 0.651 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.8062, allocations: 147.9 kB / 0.6512 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008975/0.8071, allocations: 245 kB / 0.6514 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/0.8073, allocations: 29 kB / 0.6514 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.8087, allocations: 0.7367 MB / 0.6521 GB, free: 11.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8087, allocations: 0 / 0.6521 GB, free: 11.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002062/0.8107, allocations: 471.5 kB / 0.6526 GB, free: 11.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.0004141/0.8112, allocations: 141.7 kB / 0.6527 GB, free: 10.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008305/0.8195, allocations: 2.903 MB / 0.6556 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.8195, allocations: 8.062 kB / 0.6556 GB, free: 8.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006014/0.8255, allocations: 2.043 MB / 0.6576 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.8274, allocations: 112.6 kB / 0.6577 GB, free: 5.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.8336, allocations: 3.015 MB / 0.6606 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.8346, allocations: 1.127 MB / 0.6617 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.8351, allocations: 83.42 kB / 0.6618 GB, free: 1.637 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.8351, allocations: 0 / 0.6618 GB, free: 1.637 MB / 462.1 MB Notification: Performance of Templates: time 0.03644/0.8715, allocations: 21.43 MB / 0.6827 GB, free: 12.33 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.Machines.PSSE.GENSAECalcHelperMain.o OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAECalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAECalcHelperMain.o] Error 1