Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009203, allocations: 108.3 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.0008809/0.0008809, 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.205/1.205, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.3 MB, free: 6.23 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.001104/0.001104, allocations: 63.91 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1809, allocations: 55.24 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00434/0.1853, allocations: 5.235 MB / 435.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1868, allocations: 1.555 MB / 437.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.1869, allocations: 27.81 kB / 437.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008009/0.1877, allocations: 381.2 kB / 437.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.188, allocations: 227 kB / 437.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1883, allocations: 155.7 kB / 438.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.1888, allocations: 0.8377 MB / 438.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.1891, allocations: 276.8 kB / 439.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1893, allocations: 215 kB / 439.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.1896, allocations: 291 kB / 439.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1897, allocations: 24 kB / 439.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.1899, allocations: 131.8 kB / 439.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.19, allocations: 191.5 kB / 440 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1902, allocations: 206.9 kB / 440.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1904, allocations: 395.2 kB / 440.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1904, allocations: 3.984 kB / 440.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1904, allocations: 0 / 440.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1904, allocations: 0 / 440.6 MB, free: 9.648 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0007812/0.1912, allocations: 0.6953 MB / 441.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1912, allocations: 12.03 kB / 441.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.1917, allocations: 80.33 kB / 441.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.1922, allocations: 395.1 kB / 441.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1922, allocations: 25.38 kB / 441.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.1923, allocations: 52.09 kB / 441.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.1928, allocations: 472.8 kB / 442.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1928, allocations: 4 kB / 442.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1929, allocations: 12 kB / 442.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/0.193, allocations: 24.98 kB / 442.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.1934, allocations: 335.7 kB / 442.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.1948, allocations: 1.717 MB / 444.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.195, allocations: 157.1 kB / 444.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1951, allocations: 105.7 kB / 444.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1951, allocations: 7.938 kB / 444.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.1952, allocations: 34.56 kB / 444.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1952, allocations: 0 / 444.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001039/0.1962, allocations: 0.8494 MB / 445.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.1962, allocations: 77.11 kB / 445.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1964, allocations: 308.5 kB / 445.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1965, allocations: 29.7 kB / 446 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.1966, allocations: 247.4 kB / 446.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1966, allocations: 71.12 kB / 446.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.1967, allocations: 61.91 kB / 446.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.1967, allocations: 350.7 kB / 446.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1968, allocations: 92.22 kB / 446.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.197, allocations: 197.2 kB / 446.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1972, allocations: 312.6 kB / 447.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1973, allocations: 4 kB / 447.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006518/0.1979, allocations: 458.3 kB / 447.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1979, allocations: 8 kB / 447.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004453/0.1984, allocations: 285.2 kB / 448 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.1988, allocations: 128.7 kB / 448.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1989, allocations: 63.88 kB / 448.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.2009, allocations: 2.139 MB / 450.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.2011, allocations: 19.92 kB / 450.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2011, allocations: 16 kB / 450.4 MB, free: 15.26 MB / 334.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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.2013, allocations: 197.7 kB / 450.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.2013, allocations: 27.62 kB / 450.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.2017, allocations: 250.5 kB / 450.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2017, allocations: 4 kB / 450.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2017, allocations: 0 / 450.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2017, allocations: 3.938 kB / 450.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.2027, allocations: 0.7195 MB / 451.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2027, allocations: 7.938 kB / 451.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.2029, allocations: 43.91 kB / 451.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.203, allocations: 32.91 kB / 451.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2031, allocations: 0 / 451.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009639/0.204, allocations: 1.482 MB / 453.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.204, allocations: 0 / 453.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.2045, allocations: 430.4 kB / 453.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.2046, allocations: 96.83 kB / 453.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.2046, allocations: 12.03 kB / 453.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2048, allocations: 4 kB / 453.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.2048, allocations: 20.02 kB / 453.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2048, allocations: 4 kB / 453.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.205, allocations: 219 kB / 453.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.205, allocations: 0 / 453.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.2054, allocations: 88 kB / 454 MB, free: 11.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.2055, allocations: 107.2 kB / 454.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005887/0.2061, allocations: 395.9 kB / 454.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2061, allocations: 4 kB / 454.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.2064, allocations: 226.3 kB / 454.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2069, allocations: 69.61 kB / 454.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.2081, allocations: 1.057 MB / 455.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2085, allocations: 0.8418 MB / 456.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.2085, allocations: 23.44 kB / 456.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2085, allocations: 4 kB / 456.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of Templates: time 0.006727/0.2153, allocations: 5.692 MB / 462.4 MB, free: 2.871 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1