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.001012/0.001012, allocations: 94.38 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.001125/0.001125, allocations: 178.6 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.594/1.594, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1837/0.1837, allocations: 38.03 MB / 310.3 MB, free: 6.109 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.0005497/0.0005502, allocations: 19.94 kB / 377.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2773, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004416/0.2817, allocations: 4.259 MB / 437.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.2837, allocations: 1.124 MB / 438.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.2842, allocations: 19.88 kB / 438.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.2845, allocations: 59.47 kB / 438.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008063/0.2854, allocations: 226.8 kB / 439.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2857, allocations: 119.8 kB / 439.3 MB, free: 13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.2862, allocations: 0.5178 MB / 439.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.2864, allocations: 98.2 kB / 439.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.2867, allocations: 179.1 kB / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.287, allocations: 235.2 kB / 440.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.287, allocations: 12 kB / 440.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.2871, allocations: 16 kB / 440.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.2872, allocations: 107.7 kB / 440.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.2873, allocations: 85.52 kB / 440.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2875, allocations: 271.3 kB / 440.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2875, allocations: 0 / 440.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2875, allocations: 0 / 440.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2875, allocations: 0 / 440.8 MB, free: 11.5 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.001049/0.2885, allocations: 0.6439 MB / 441.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2886, allocations: 15.91 kB / 441.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.2887, allocations: 43.48 kB / 441.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.2892, allocations: 370.6 kB / 441.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2892, allocations: 16.56 kB / 441.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2892, allocations: 24 kB / 441.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.2897, allocations: 360.7 kB / 442.2 MB, free: 9.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2897, allocations: 4 kB / 442.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2897, allocations: 12 kB / 442.2 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.2897, allocations: 11.95 kB / 442.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.2901, allocations: 258 kB / 442.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2914, allocations: 1.45 MB / 444 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2916, allocations: 161 kB / 444.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.2918, allocations: 81.73 kB / 444.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2918, allocations: 0 / 444.2 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2918, allocations: 34.52 kB / 444.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.2918, allocations: 4 kB / 444.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009468/0.2928, allocations: 0.6816 MB / 444.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2928, allocations: 81.11 kB / 445 MB, free: 6.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2931, allocations: 296.5 kB / 445.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2931, allocations: 25.7 kB / 445.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.2932, allocations: 219.5 kB / 445.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.2932, allocations: 63.31 kB / 445.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.2932, allocations: 4 kB / 445.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.2933, allocations: 334.8 kB / 445.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.2934, allocations: 63.95 kB / 446 MB, free: 5.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2935, allocations: 168.8 kB / 446.1 MB, free: 5.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.2936, allocations: 91.95 kB / 446.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2937, allocations: 0 / 446.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000319/0.294, allocations: 293.2 kB / 446.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.294, allocations: 7.953 kB / 446.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.294, allocations: 4 kB / 446.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.294, allocations: 7.938 kB / 446.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.2943, allocations: 59.91 kB / 446.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2943, allocations: 8 kB / 446.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2944, allocations: 11.98 kB / 446.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2944, allocations: 12 kB / 446.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.2946, allocations: 161.8 kB / 446.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.2946, allocations: 35.73 kB / 446.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.295, allocations: 243.8 kB / 447.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.295, allocations: 4 kB / 447.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.295, allocations: 3.953 kB / 447.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.295, allocations: 0 / 447.1 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.2956, allocations: 0.6201 MB / 447.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2956, allocations: 0 / 447.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.2958, allocations: 44 kB / 447.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2958, allocations: 3.953 kB / 447.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2958, allocations: 8 kB / 447.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2958, allocations: 0 / 447.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2958, allocations: 0 / 447.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.2962, allocations: 425 kB / 448.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2963, allocations: 104.9 kB / 448.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.2964, allocations: 3.984 kB / 448.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.2966, allocations: 11.95 kB / 448.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.2966, allocations: 15.98 kB / 448.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.2966, allocations: 7.984 kB / 448.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2968, allocations: 207.1 kB / 448.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2968, allocations: 0 / 448.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.2971, allocations: 56 kB / 448.6 MB, free: 3.191 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 (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 0.0001031/0.2972, allocations: 107.2 kB / 448.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2975, allocations: 187.6 kB / 448.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2975, allocations: 0 / 448.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.2976, allocations: 87.89 kB / 448.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.2981, allocations: 68.58 kB / 449 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.299, allocations: 0.8347 MB / 449.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2993, allocations: 0.8067 MB / 450.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.2993, allocations: 31.42 kB / 450.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2993, allocations: 0 / 450.7 MB, free: 1.012 MB / 318.1 MB Notification: Performance of Templates: time 0.005833/0.3052, allocations: 3.829 MB / 454.5 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++ 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.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