Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009983, allocations: 110.5 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.000926/0.0009261, 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.189/1.189, 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.1556/0.1556, 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.001171/0.001171, allocations: 75.89 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1819, allocations: 55.23 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004343/0.1862, allocations: 5.215 MB / 435.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1878, allocations: 1.547 MB / 437.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.188, allocations: 23.88 kB / 437.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.1888, allocations: 386.6 kB / 437.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.1891, allocations: 231 kB / 437.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1894, allocations: 151.8 kB / 438 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.1898, allocations: 0.8533 MB / 438.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1902, allocations: 280.8 kB / 439.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1904, allocations: 219 kB / 439.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1907, allocations: 291.1 kB / 439.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.1908, allocations: 24 kB / 439.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1909, allocations: 135.7 kB / 439.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1911, allocations: 183.5 kB / 440 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1912, allocations: 218.9 kB / 440.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1915, allocations: 391.2 kB / 440.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1915, allocations: 0 / 440.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1915, allocations: 0 / 440.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1915, allocations: 0 / 440.6 MB, free: 9.652 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.0008006/0.1923, allocations: 0.6991 MB / 441.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1923, allocations: 11.97 kB / 441.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.1928, allocations: 92.31 kB / 441.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.1933, allocations: 391.2 kB / 441.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1933, allocations: 29.36 kB / 441.8 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.1934, allocations: 44.12 kB / 441.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1939, allocations: 484.8 kB / 442.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1939, allocations: 4 kB / 442.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.194, allocations: 12 kB / 442.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.564e-05/0.1941, allocations: 28.98 kB / 442.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1945, allocations: 347.7 kB / 442.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.196, allocations: 1.729 MB / 444.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1962, allocations: 165 kB / 444.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1963, allocations: 113.7 kB / 444.7 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1964, allocations: 11.94 kB / 444.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.1964, allocations: 38.5 kB / 444.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1964, allocations: 0 / 444.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001096/0.1975, allocations: 0.8767 MB / 445.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1975, allocations: 85.05 kB / 445.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1977, allocations: 308.5 kB / 446 MB, free: 3.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1977, allocations: 25.7 kB / 446.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.1978, allocations: 259.4 kB / 446.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1979, allocations: 63.19 kB / 446.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.1979, allocations: 57.89 kB / 446.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.198, allocations: 346.7 kB / 446.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.1981, allocations: 104.2 kB / 446.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1983, allocations: 197.2 kB / 447.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1985, allocations: 332.6 kB / 447.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1986, allocations: 4 kB / 447.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006664/0.1992, allocations: 473.9 kB / 447.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1992, allocations: 4 kB / 447.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004705/0.1997, allocations: 325.5 kB / 448.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.2001, allocations: 136.7 kB / 448.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2003, allocations: 51.91 kB / 448.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.2024, allocations: 2.2 MB / 450.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2025, allocations: 19.84 kB / 450.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2025, allocations: 15.94 kB / 450.6 MB, free: 15.03 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.0001788/0.2027, allocations: 205.8 kB / 450.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.2028, allocations: 23.72 kB / 450.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.2032, allocations: 261.4 kB / 451.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2032, allocations: 7.922 kB / 451.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2032, allocations: 0 / 451.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2032, allocations: 4 kB / 451.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.2042, allocations: 0.7351 MB / 451.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2042, allocations: 4 kB / 451.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.2044, allocations: 35.97 kB / 451.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.19e-05/0.2045, allocations: 40.77 kB / 451.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2046, allocations: 8 kB / 451.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2046, allocations: 3.938 kB / 451.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2046, allocations: 4 kB / 451.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.2051, allocations: 438.4 kB / 452.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.2052, allocations: 104.8 kB / 452.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2052, allocations: 3.906 kB / 452.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2053, allocations: 15.97 kB / 452.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.2054, allocations: 19.92 kB / 452.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2054, allocations: 4 kB / 452.5 MB, free: 13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.2056, allocations: 223 kB / 452.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2056, allocations: 0 / 452.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.206, allocations: 88 kB / 452.8 MB, free: 12.7 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.498e-05/0.2061, allocations: 95.25 kB / 452.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.2067, allocations: 415.3 kB / 453.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2067, allocations: 0 / 453.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2069, allocations: 181.6 kB / 453.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2073, allocations: 69.44 kB / 453.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2086, allocations: 1.069 MB / 454.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.209, allocations: 0.8419 MB / 455.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.2091, allocations: 27.44 kB / 455.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2091, allocations: 0 / 455.5 MB, free: 9.906 MB / 334.1 MB Notification: Performance of Templates: time 0.006716/0.2158, allocations: 5.693 MB / 461.2 MB, free: 4.207 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.PQsourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.o] Error 1