Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01175/0.01175, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 239.5 MB, free: 4.781 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.002021/0.002021, allocations: 188.5 kB / 289.8 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5973/0.5973, allocations: 78.53 MB / 418.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 68.17 kB / 497.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 68.18 MB / 0.5523 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.4136/0.5955, allocations: 7.343 MB / 0.5595 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.6016, allocations: 2.263 MB / 0.5617 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.6035, allocations: 11.16 kB / 0.5617 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009872/0.6046, allocations: 212.4 kB / 0.5619 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.6085, allocations: 1.041 MB / 0.5629 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.61, allocations: 0.5242 MB / 0.5634 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.6127, allocations: 1.802 MB / 0.5652 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.6133, allocations: 287.2 kB / 0.5655 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.6143, allocations: 0.6604 MB / 0.5661 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009909/0.6153, allocations: 0.8991 MB / 0.567 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.6155, allocations: 86 kB / 0.5671 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.6164, allocations: 298.5 kB / 0.5674 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.6167, allocations: 322 kB / 0.5677 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.6173, allocations: 0.6923 MB / 0.5683 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.6187, allocations: 1.399 MB / 0.5697 GB, free: 34.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6187, allocations: 0 / 0.5697 GB, free: 34.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6187, allocations: 0 / 0.5697 GB, free: 34.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.6187, allocations: 0 / 0.5697 GB, free: 34.03 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01532/0.6341, allocations: 3.585 MB / 0.5732 GB, free: 33.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.617e-05/0.6342, allocations: 10.25 kB / 0.5732 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.639, allocations: 0.7135 MB / 0.5739 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.6409, allocations: 0.8987 MB / 0.5748 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.6413, allocations: 354.8 kB / 0.5751 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.6415, allocations: 88 kB / 0.5752 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.6441, allocations: 1.217 MB / 0.5764 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6441, allocations: 0 / 0.5764 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6442, allocations: 38.86 kB / 0.5764 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.6442, allocations: 17.28 kB / 0.5765 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.6466, allocations: 1.154 MB / 0.5776 GB, free: 32.11 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.007549/0.6541, allocations: 4.084 MB / 0.5816 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.6625, allocations: 2.646 MB / 0.5842 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.6647, allocations: 0.8211 MB / 0.585 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.6648, allocations: 20.33 kB / 0.585 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6649, allocations: 44.03 kB / 0.585 GB, free: 28.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.567e-06/0.6649, allocations: 4 kB / 0.585 GB, free: 28.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04531/0.7102, allocations: 9.712 MB / 0.5945 GB, free: 26.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.7103, allocations: 88.94 kB / 0.5946 GB, free: 26.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.7128, allocations: 1.088 MB / 0.5957 GB, free: 26.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004715/0.7133, allocations: 48.5 kB / 0.5957 GB, free: 26.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.7137, allocations: 0.5014 MB / 0.5962 GB, free: 25.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/0.7143, allocations: 388.1 kB / 0.5966 GB, free: 25.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/0.715, allocations: 280.4 kB / 0.5968 GB, free: 25.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.7151, allocations: 302.1 kB / 0.5971 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.7173, allocations: 0.847 MB / 0.598 GB, free: 24.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.7197, allocations: 1.022 MB / 0.5989 GB, free: 24.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.724, allocations: 1.867 MB / 0.6008 GB, free: 23.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.724, allocations: 1.219 kB / 0.6008 GB, free: 23.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01444/0.7384, allocations: 4.25 MB / 0.6049 GB, free: 22.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.7385, allocations: 10.94 kB / 0.6049 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.7385, allocations: 4.328 kB / 0.6049 GB, free: 22.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00913/0.7477, allocations: 2.362 MB / 0.6072 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7492, allocations: 233.9 kB / 0.6075 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.7555, allocations: 2.599 MB / 0.61 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.7582, allocations: 202.1 kB / 0.6102 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.7584, allocations: 54.05 kB / 0.6102 GB, free: 19.46 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 (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.00081/0.7592, allocations: 264.8 kB / 0.6105 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.7596, allocations: 135.8 kB / 0.6106 GB, free: 19.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/0.7748, allocations: 4.617 MB / 0.6151 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.7749, allocations: 12 kB / 0.6152 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.7749, allocations: 1.969 kB / 0.6152 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.775, allocations: 3.984 kB / 0.6152 GB, free: 15.09 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.01713/0.7921, allocations: 6.33 MB / 0.6213 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.7922, allocations: 0.5625 kB / 0.6213 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007009/0.7929, allocations: 107.8 kB / 0.6214 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006826/0.7997, allocations: 2.143 MB / 0.6235 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7999, allocations: 21.06 kB / 0.6236 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/0.8222, allocations: 9.16 MB / 0.6325 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8223, allocations: 4 kB / 0.6325 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.8406, allocations: 5.675 MB / 0.638 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.8414, allocations: 227.2 kB / 0.6383 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.8416, allocations: 20 kB / 0.6383 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.8429, allocations: 103.9 kB / 0.6384 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008354/0.8438, allocations: 241 kB / 0.6386 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.8439, allocations: 20.56 kB / 0.6386 GB, free: 6.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009939/0.8449, allocations: 0.7326 MB / 0.6393 GB, free: 5.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8449, allocations: 4 kB / 0.6394 GB, free: 5.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001465/0.8464, allocations: 467.5 kB / 0.6398 GB, free: 5.523 MB / 446.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,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.8467, allocations: 146.7 kB / 0.6399 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007717/0.8544, allocations: 2.519 MB / 0.6424 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8544, allocations: 0 / 0.6424 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005704/0.8602, allocations: 1.766 MB / 0.6441 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8615, allocations: 116.5 kB / 0.6442 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.8668, allocations: 2.986 MB / 0.6471 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.8676, allocations: 1.113 MB / 0.6482 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.868, allocations: 87.41 kB / 0.6483 GB, free: 12.83 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.868, allocations: 0 / 0.6483 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Templates: time 0.0303/0.8983, allocations: 21.37 MB / 0.6692 GB, free: 7.562 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.o] Error 1