Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08261/0.08261, allocations: 12.2 MB / 28.12 MB, free: 1.422 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008064, allocations: 101.7 kB / 31.66 MB, free: 4.758 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 240.5 MB, free: 14.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 185.7 kB / 291.6 MB, free: 11.61 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4605/0.4605, allocations: 78.52 MB / 421.1 MB, free: 11.54 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008903/0.0008905, allocations: 31.94 kB / 0.4907 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.33, allocations: 69.23 MB / 0.5584 GB, free: 20.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.004833/0.3349, allocations: 6.922 MB / 0.5651 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003939/0.3388, allocations: 2.209 MB / 0.5673 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/0.3394, allocations: 19.88 kB / 0.5673 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.3399, allocations: 210.7 kB / 0.5675 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.342, allocations: 1.026 MB / 0.5685 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.343, allocations: 0.5218 MB / 0.569 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.3445, allocations: 1.804 MB / 0.5708 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.3448, allocations: 287.3 kB / 0.571 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.3453, allocations: 0.6416 MB / 0.5717 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.346, allocations: 0.8672 MB / 0.5725 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.3461, allocations: 76 kB / 0.5726 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.3466, allocations: 287.7 kB / 0.5729 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3468, allocations: 294.6 kB / 0.5731 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.3472, allocations: 0.7123 MB / 0.5738 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.3481, allocations: 1.363 MB / 0.5752 GB, free: 3.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3481, allocations: 0 / 0.5752 GB, free: 3.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3481, allocations: 4 kB / 0.5752 GB, free: 3.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3482, allocations: 0 / 0.5752 GB, free: 3.598 MB / 382.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.01141/0.3596, allocations: 3.4 MB / 0.5785 GB, free: 148 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3596, allocations: 11.98 kB / 0.5785 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/0.364, allocations: 0.7201 MB / 0.5792 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.3655, allocations: 0.8989 MB / 0.5801 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/0.3659, allocations: 373.5 kB / 0.5804 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.3661, allocations: 91.98 kB / 0.5805 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.3687, allocations: 1.293 MB / 0.5818 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3687, allocations: 0 / 0.5818 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3688, allocations: 32 kB / 0.5818 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.3688, allocations: 20 kB / 0.5818 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.3714, allocations: 1.245 MB / 0.5831 GB, free: 11.34 MB / 398.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.006801/0.3782, allocations: 4.158 MB / 0.5871 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/0.3866, allocations: 3.217 MB / 0.5903 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.3883, allocations: 0.8987 MB / 0.5911 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.3885, allocations: 20.98 kB / 0.5912 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3885, allocations: 43.56 kB / 0.5912 GB, free: 2.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.645e-06/0.3885, allocations: 0 / 0.5912 GB, free: 2.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=107): time 0.04412/0.4326, allocations: 11.95 MB / 0.6029 GB, free: 6.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.4328, allocations: 90.05 kB / 0.603 GB, free: 6.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.4347, allocations: 1.085 MB / 0.604 GB, free: 5.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004603/0.4352, allocations: 45.7 kB / 0.6041 GB, free: 5.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.4357, allocations: 0.5013 MB / 0.6045 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/0.4363, allocations: 394.2 kB / 0.6049 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.4365, allocations: 141.6 kB / 0.6051 GB, free: 4.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4367, allocations: 301.1 kB / 0.6053 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.4387, allocations: 0.9292 MB / 0.6063 GB, free: 3.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.441, allocations: 1.108 MB / 0.6073 GB, free: 2.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/0.445, allocations: 2.031 MB / 0.6093 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.445, allocations: 4 kB / 0.6093 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01378/0.4588, allocations: 5.017 MB / 0.6142 GB, free: 10.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.4589, allocations: 11.98 kB / 0.6142 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4589, allocations: 4 kB / 0.6142 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008816/0.4677, allocations: 2.736 MB / 0.6169 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4689, allocations: 235.6 kB / 0.6171 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.4763, allocations: 2.919 MB / 0.62 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.4784, allocations: 242.6 kB / 0.6202 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.4786, allocations: 55.98 kB / 0.6203 GB, free: 4.668 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.0006669/0.4793, allocations: 257.6 kB / 0.6205 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.4797, allocations: 138.2 kB / 0.6206 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/0.4974, allocations: 5.66 MB / 0.6262 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.4975, allocations: 15.94 kB / 0.6262 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4975, allocations: 0 / 0.6262 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.4975, allocations: 7.969 kB / 0.6262 GB, free: 14.57 MB / 446.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.02038/0.5179, allocations: 7.369 MB / 0.6334 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.518, allocations: 0 / 0.6334 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.5187, allocations: 107.8 kB / 0.6335 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008195/0.5269, allocations: 2.521 MB / 0.636 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.5272, allocations: 19.98 kB / 0.636 GB, free: 4.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02682/0.554, allocations: 10.31 MB / 0.646 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.554, allocations: 4 kB / 0.646 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.5736, allocations: 6.799 MB / 0.6527 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.5742, allocations: 235.1 kB / 0.6529 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.5746, allocations: 20 kB / 0.6529 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.5761, allocations: 151.9 kB / 0.6531 GB, free: 2.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008183/0.577, allocations: 237 kB / 0.6533 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5771, allocations: 32 kB / 0.6533 GB, free: 2.445 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.5783, allocations: 0.7287 MB / 0.654 GB, free: 1.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5784, allocations: 0 / 0.654 GB, free: 1.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001657/0.58, allocations: 471.5 kB / 0.6545 GB, free: 1.25 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,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.0003658/0.5804, allocations: 140 kB / 0.6546 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008762/0.5892, allocations: 2.885 MB / 0.6574 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5892, allocations: 0 / 0.6574 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006422/0.5956, allocations: 2.048 MB / 0.6594 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5971, allocations: 116.5 kB / 0.6596 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.6026, allocations: 3.098 MB / 0.6626 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/0.6035, allocations: 1.117 MB / 0.6637 GB, free: 7.773 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003718/0.6039, allocations: 83.42 kB / 0.6637 GB, free: 7.691 MB / 478.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6039, allocations: 0 / 0.6637 GB, free: 7.691 MB / 478.1 MB Notification: Performance of Templates: time 0.03091/0.6348, allocations: 21.24 MB / 0.6845 GB, free: 2.43 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.makefile make -j1 -f OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.o OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSALCalcHelperMain.o] Error 1