Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007741/0.0007742, allocations: 92.88 kB / 16.95 MB, free: 5.953 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.0008425/0.0008426, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.596/1.596, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1702/0.1702, allocations: 38.05 MB / 310.3 MB, free: 6.023 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.0005137/0.0005137, allocations: 12 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.262, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003786/0.2659, allocations: 4.111 MB / 437.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2674, allocations: 1.084 MB / 438.7 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.2676, allocations: 23.81 kB / 438.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2678, allocations: 51.61 kB / 438.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.2683, allocations: 210.8 kB / 439 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2685, allocations: 107.8 kB / 439.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.2689, allocations: 470.4 kB / 439.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2691, allocations: 89.11 kB / 439.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.2693, allocations: 143.3 kB / 439.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2696, allocations: 199.3 kB / 439.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2696, allocations: 16 kB / 440 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.2697, allocations: 12 kB / 440 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.2698, allocations: 95.69 kB / 440.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.097e-05/0.2698, allocations: 77.58 kB / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.27, allocations: 223.3 kB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.27, allocations: 4 kB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.27, allocations: 3.938 kB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2701, allocations: 0 / 440.4 MB, free: 11.91 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000852/0.2709, allocations: 0.5661 MB / 440.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.271, allocations: 15.97 kB / 440.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.271, allocations: 39.58 kB / 441 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.2714, allocations: 313.8 kB / 441.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2714, allocations: 20.56 kB / 441.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2714, allocations: 20 kB / 441.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2718, allocations: 316.5 kB / 441.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2718, allocations: 0 / 441.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2718, allocations: 8 kB / 441.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2719, allocations: 8 kB / 441.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.2721, allocations: 225.4 kB / 441.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2733, allocations: 1.344 MB / 443.2 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.2736, allocations: 141.2 kB / 443.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.2737, allocations: 61.69 kB / 443.4 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2737, allocations: 8 kB / 443.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2737, allocations: 42.53 kB / 443.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2737, allocations: 0 / 443.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006528/0.2744, allocations: 367.5 kB / 443.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2744, allocations: 81.06 kB / 443.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.2746, allocations: 263.1 kB / 444.2 MB, free: 7.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2747, allocations: 29.7 kB / 444.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.2748, allocations: 199.6 kB / 444.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.2748, allocations: 47.3 kB / 444.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.2748, allocations: 4 kB / 444.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.2749, allocations: 334.8 kB / 444.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.275, allocations: 59.89 kB / 444.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.2751, allocations: 152.8 kB / 445 MB, free: 6.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2752, allocations: 79.91 kB / 445.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2752, allocations: 4 kB / 445.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002847/0.2755, allocations: 241 kB / 445.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2755, allocations: 8 kB / 445.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2755, allocations: 4 kB / 445.3 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2756, allocations: 4 kB / 445.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2757, allocations: 51.91 kB / 445.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2758, allocations: 7.953 kB / 445.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2759, allocations: 12.42 kB / 445.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2759, allocations: 16 kB / 445.4 MB, free: 6.52 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.276, allocations: 149.8 kB / 445.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.2761, allocations: 31.7 kB / 445.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.2763, allocations: 195.2 kB / 445.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2764, allocations: 0 / 445.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2764, allocations: 0 / 445.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2764, allocations: 7.953 kB / 445.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.2769, allocations: 0.5615 MB / 446.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2769, allocations: 0 / 446.3 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.277, allocations: 23.98 kB / 446.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2771, allocations: 4 kB / 446.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2771, allocations: 4 kB / 446.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2771, allocations: 7.953 kB / 446.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2771, allocations: 0 / 446.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.2773, allocations: 292.8 kB / 446.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2774, allocations: 96.83 kB / 446.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.2774, allocations: 7.984 kB / 446.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2775, allocations: 4 kB / 446.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2776, allocations: 19.94 kB / 446.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2776, allocations: 4 kB / 446.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.2777, allocations: 178 kB / 447 MB, free: 4.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2777, allocations: 7.938 kB / 447 MB, free: 4.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.278, allocations: 52 kB / 447 MB, free: 4.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.907e-05/0.2781, allocations: 95.19 kB / 447.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.2784, allocations: 155.7 kB / 447.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2784, allocations: 0.875 kB / 447.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.2785, allocations: 79.83 kB / 447.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.2789, allocations: 53.38 kB / 447.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.2798, allocations: 0.6724 MB / 448.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.28, allocations: 0.7833 MB / 448.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.2801, allocations: 23.44 kB / 448.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2801, allocations: 0 / 448.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Templates: time 0.004626/0.2847, allocations: 3.157 MB / 452 MB, free: 15.7 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o] Error 1