Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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/Complex 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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1549/0.1549, allocations: 37.99 MB / 309.2 MB, free: 6.262 MB / 254.1 MB 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: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 71.02 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1868, allocations: 55.24 MB / 430.5 MB, free: 19.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004233/0.1911, allocations: 4.853 MB / 435.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1924, allocations: 1.166 MB / 436.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1926, allocations: 27.81 kB / 436.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1928, allocations: 39.69 kB / 436.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1932, allocations: 183.1 kB / 436.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1934, allocations: 87.91 kB / 436.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.1938, allocations: 0.627 MB / 437.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.194, allocations: 139.3 kB / 437.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1942, allocations: 187.1 kB / 437.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.1945, allocations: 243.1 kB / 438 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1945, allocations: 16 kB / 438.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.1946, allocations: 24 kB / 438.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.1947, allocations: 111.6 kB / 438.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1948, allocations: 171.1 kB / 438.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.195, allocations: 271.4 kB / 438.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.195, allocations: 4 kB / 438.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.195, allocations: 0 / 438.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.195, allocations: 0 / 438.6 MB, free: 11.82 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00101/0.196, allocations: 0.7023 MB / 439.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1961, allocations: 12.03 kB / 439.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.1961, allocations: 36.47 kB / 439.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.1966, allocations: 379.1 kB / 439.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1966, allocations: 20.56 kB / 439.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.1966, allocations: 24 kB / 439.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.197, allocations: 360.7 kB / 440.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.197, allocations: 0 / 440.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.1971, allocations: 12 kB / 440.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1971, allocations: 8 kB / 440.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.1974, allocations: 261.9 kB / 440.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1986, allocations: 1.442 MB / 441.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1988, allocations: 172.9 kB / 442 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.1989, allocations: 81.73 kB / 442.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.199, allocations: 0 / 442.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.199, allocations: 38.5 kB / 442.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.199, allocations: 0 / 442.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008614/0.1999, allocations: 0.6837 MB / 442.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1999, allocations: 81.11 kB / 442.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2001, allocations: 296.6 kB / 443.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2001, allocations: 29.7 kB / 443.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.2002, allocations: 215.5 kB / 443.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.2002, allocations: 59.19 kB / 443.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.2003, allocations: 45.7 kB / 443.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.2004, allocations: 338.8 kB / 443.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.2004, allocations: 71.95 kB / 443.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2006, allocations: 168.8 kB / 444.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.2008, allocations: 260.6 kB / 444.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2008, allocations: 0 / 444.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003003/0.2011, allocations: 288.8 kB / 444.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2011, allocations: 11.98 kB / 444.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2011, allocations: 7.938 kB / 444.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2012, allocations: 4 kB / 444.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2014, allocations: 55.91 kB / 444.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2014, allocations: 4.438 kB / 444.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.2016, allocations: 19.98 kB / 444.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2016, allocations: 12 kB / 444.8 MB, free: 5.234 MB / 318.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2017, allocations: 169.7 kB / 444.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2017, allocations: 31.56 kB / 445 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.202, allocations: 239.9 kB / 445.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2021, allocations: 4 kB / 445.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2021, allocations: 0 / 445.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2021, allocations: 4 kB / 445.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.2026, allocations: 0.6201 MB / 445.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2026, allocations: 0 / 445.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.2028, allocations: 39.98 kB / 445.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2028, allocations: 0 / 445.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2028, allocations: 11.92 kB / 445.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2028, allocations: 0 / 445.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2028, allocations: 3.938 kB / 445.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.2032, allocations: 432.6 kB / 446.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2033, allocations: 96.86 kB / 446.4 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.2033, allocations: 8 kB / 446.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.2035, allocations: 11.98 kB / 446.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.2035, allocations: 11.98 kB / 446.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2035, allocations: 4 kB / 446.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2036, allocations: 223 kB / 446.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2036, allocations: 0 / 446.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000289/0.2039, allocations: 56 kB / 446.7 MB, free: 3.18 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.993e-05/0.204, allocations: 103.2 kB / 446.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.2043, allocations: 192.2 kB / 447 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2043, allocations: 4.312 kB / 447 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.2044, allocations: 88.98 kB / 447.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2048, allocations: 64.55 kB / 447.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.2056, allocations: 0.7932 MB / 447.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.2058, allocations: 0.8067 MB / 448.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.2058, allocations: 35.36 kB / 448.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2059, allocations: 0 / 448.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of Templates: time 0.004802/0.2107, allocations: 3.849 MB / 452.6 MB, free: 13.18 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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 OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o] Error 1