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.0008952/0.0008954, allocations: 96.81 kB / 17.31 MB, free: 6.031 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.001139/0.001139, allocations: 179.1 kB / 18.21 MB, free: 5.41 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.803/1.803, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1913/0.1913, allocations: 38.06 MB / 310.7 MB, free: 5.898 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.000532/0.0005319, allocations: 20.61 kB / 377.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3248, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005145/0.33, allocations: 4.46 MB / 438.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.3318, allocations: 1.158 MB / 439.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.332, allocations: 19.88 kB / 439.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3322, allocations: 39.69 kB / 439.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.3327, allocations: 175.1 kB / 440 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3329, allocations: 91.89 kB / 440.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.3335, allocations: 0.6348 MB / 440.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.3338, allocations: 127.3 kB / 440.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.334, allocations: 179.1 kB / 441 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.3344, allocations: 231.1 kB / 441.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.3344, allocations: 12 kB / 441.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.507e-05/0.3345, allocations: 16 kB / 441.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3346, allocations: 111.6 kB / 441.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.3348, allocations: 184.8 kB / 441.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.335, allocations: 271.3 kB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.335, allocations: 3.984 kB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.335, allocations: 4 kB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.335, allocations: 4 kB / 441.8 MB, free: 10.95 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.001181/0.3362, allocations: 0.6284 MB / 442.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3363, allocations: 12.03 kB / 442.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.3364, allocations: 40.47 kB / 442.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.3369, allocations: 387.1 kB / 442.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3369, allocations: 20.56 kB / 442.9 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.337, allocations: 24 kB / 442.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3375, allocations: 360.7 kB / 443.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3375, allocations: 3.984 kB / 443.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3375, allocations: 12 kB / 443.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3376, allocations: 8 kB / 443.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.3379, allocations: 258 kB / 443.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3393, allocations: 1.454 MB / 445 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.3396, allocations: 156.4 kB / 445.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3397, allocations: 81.73 kB / 445.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3397, allocations: 4 kB / 445.3 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3398, allocations: 42.5 kB / 445.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.3398, allocations: 0 / 445.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001142/0.3409, allocations: 0.6795 MB / 446 MB, free: 6.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.341, allocations: 77.11 kB / 446.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3412, allocations: 300.5 kB / 446.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3413, allocations: 33.83 kB / 446.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3414, allocations: 219.5 kB / 446.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3414, allocations: 59.19 kB / 446.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3415, allocations: 25.7 kB / 446.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3416, allocations: 338.8 kB / 447 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3417, allocations: 63.95 kB / 447.1 MB, free: 5.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3418, allocations: 168.8 kB / 447.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.3421, allocations: 260.7 kB / 447.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3421, allocations: 0 / 447.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003313/0.3425, allocations: 289.2 kB / 447.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3425, allocations: 8 kB / 447.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3425, allocations: 11.92 kB / 447.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3425, allocations: 4 kB / 447.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3428, allocations: 63.89 kB / 447.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3428, allocations: 4 kB / 447.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3429, allocations: 12 kB / 447.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.343, allocations: 11.98 kB / 447.9 MB, free: 4.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 (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.0001401/0.3431, allocations: 173.8 kB / 448.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.3432, allocations: 31.56 kB / 448.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.3435, allocations: 236 kB / 448.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3435, allocations: 4 kB / 448.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3435, allocations: 0 / 448.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3436, allocations: 3.984 kB / 448.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.3442, allocations: 0.6201 MB / 448.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3442, allocations: 8.031 kB / 449 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3444, allocations: 35.98 kB / 449 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3444, allocations: 0 / 449 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3444, allocations: 8 kB / 449 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3444, allocations: 7.875 kB / 449 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3444, allocations: 0 / 449 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.3449, allocations: 428.6 kB / 449.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.345, allocations: 104.8 kB / 449.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.345, allocations: 4 kB / 449.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3452, allocations: 11.98 kB / 449.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3452, allocations: 15.88 kB / 449.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3452, allocations: 8 kB / 449.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3454, allocations: 214.9 kB / 449.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3454, allocations: 0 / 449.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3457, allocations: 60 kB / 449.8 MB, free: 2.395 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 0.0001143/0.3459, allocations: 107.3 kB / 449.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.3461, allocations: 179.7 kB / 450.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3461, allocations: 0 / 450.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3463, allocations: 95.94 kB / 450.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3468, allocations: 68.62 kB / 450.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3478, allocations: 0.8463 MB / 451.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3481, allocations: 0.8109 MB / 451.9 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.3482, allocations: 23.44 kB / 452 MB, free: 212 kB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3482, allocations: 0 / 452 MB, free: 212 kB / 318.1 MB Notification: Performance of Templates: time 0.006731/0.3549, allocations: 3.81 MB / 455.8 MB, free: 12.39 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