Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, allocations: 109.9 kB / 17.16 MB, free: 6.082 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.0008491/0.0008491, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.176/1.176, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1578/0.1578, allocations: 37.98 MB / 309.3 MB, free: 6.234 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.0012/0.0012, allocations: 67.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1908, allocations: 55.25 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004061/0.1949, allocations: 4.564 MB / 435.1 MB, free: 15.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.196, allocations: 1.092 MB / 436.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1962, allocations: 27.81 kB / 436.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1963, allocations: 31.77 kB / 436.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1966, allocations: 155.3 kB / 436.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.1968, allocations: 75.86 kB / 436.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.1971, allocations: 0.5023 MB / 437 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1972, allocations: 72.78 kB / 437 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1974, allocations: 139.3 kB / 437.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1976, allocations: 171.3 kB / 437.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1977, allocations: 12 kB / 437.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.1977, allocations: 12 kB / 437.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.1978, allocations: 75.73 kB / 437.4 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.1979, allocations: 123.3 kB / 437.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.198, allocations: 183.6 kB / 437.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.198, allocations: 0 / 437.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.198, allocations: 0 / 437.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.198, allocations: 0 / 437.7 MB, free: 12.53 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006265/0.1987, allocations: 0.5622 MB / 438.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.1987, allocations: 8.031 kB / 438.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.1988, allocations: 32.56 kB / 438.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1991, allocations: 300.1 kB / 438.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1991, allocations: 20.38 kB / 438.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.1991, allocations: 20 kB / 438.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1994, allocations: 273.8 kB / 438.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1994, allocations: 0 / 438.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1994, allocations: 8 kB / 438.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1995, allocations: 8 kB / 439 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.1997, allocations: 163.8 kB / 439.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.2005, allocations: 1.179 MB / 440.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.855e-05/0.2006, allocations: 73.11 kB / 440.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.2006, allocations: 37.81 kB / 440.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2006, allocations: 0 / 440.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.2007, allocations: 38.5 kB / 440.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2007, allocations: 3.984 kB / 440.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000524/0.2012, allocations: 412.7 kB / 440.8 MB, free: 9.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.2012, allocations: 85.23 kB / 440.9 MB, free: 9.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2014, allocations: 242.5 kB / 441.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.2014, allocations: 29.7 kB / 441.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.2015, allocations: 191.6 kB / 441.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.2015, allocations: 31.55 kB / 441.4 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.2015, allocations: 41.64 kB / 441.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.2016, allocations: 330.8 kB / 441.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.2016, allocations: 28 kB / 441.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.2017, allocations: 120.9 kB / 441.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.2018, allocations: 172.7 kB / 442.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2018, allocations: 0 / 442.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000189/0.202, allocations: 189 kB / 442.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.202, allocations: 4 kB / 442.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2021, allocations: 7.938 kB / 442.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2021, allocations: 4 kB / 442.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2022, allocations: 39.92 kB / 442.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2022, allocations: 4.438 kB / 442.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.2023, allocations: 12 kB / 442.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2023, allocations: 15.98 kB / 442.4 MB, free: 7.457 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 (22): * Single equations (assignments): 22 * 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 8.313e-05/0.2024, allocations: 145.8 kB / 442.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2025, allocations: 19.72 kB / 442.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.2026, allocations: 103.3 kB / 442.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2026, allocations: 0 / 442.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2026, allocations: 0 / 442.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2026, allocations: 0 / 442.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.2029, allocations: 427.3 kB / 443 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2029, allocations: 0 / 443 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.203, allocations: 15.94 kB / 443.1 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.203, allocations: 4 kB / 443.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.203, allocations: 448 / 443.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.203, allocations: 0 / 443.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.203, allocations: 7.984 kB / 443.1 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2032, allocations: 240.9 kB / 443.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2033, allocations: 96.95 kB / 443.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2033, allocations: 0 / 443.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.2034, allocations: 0 / 443.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2034, allocations: 7.984 kB / 443.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2034, allocations: 4 kB / 443.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2035, allocations: 174 kB / 443.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2035, allocations: 8 kB / 443.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.2038, allocations: 36 kB / 443.6 MB, free: 6.082 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.732e-05/0.2039, allocations: 103.1 kB / 443.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.204, allocations: 83.84 kB / 443.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.204, allocations: 4.812 kB / 443.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.2041, allocations: 28.05 kB / 443.8 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2045, allocations: 59.94 kB / 443.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.2051, allocations: 0.6174 MB / 444.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2053, allocations: 0.756 MB / 445.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.2053, allocations: 23.44 kB / 445.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2053, allocations: 0 / 445.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Templates: time 0.003056/0.2084, allocations: 2.64 MB / 447.9 MB, free: 1.699 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.SourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.o] Error 1