Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0008813/0.0008814, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.191/1.191, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1547/0.1547, allocations: 37.99 MB / 309.3 MB, free: 6.238 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.001187/0.001187, allocations: 67.19 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004273/0.1825, allocations: 5.044 MB / 435.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1842, allocations: 1.758 MB / 437.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.1844, allocations: 35.75 kB / 437.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.185, allocations: 255 kB / 437.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.1854, allocations: 270.9 kB / 437.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1858, allocations: 219.6 kB / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1863, allocations: 0.9512 MB / 439 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.1866, allocations: 215.5 kB / 439.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1868, allocations: 226.9 kB / 439.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.1871, allocations: 378.9 kB / 439.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.1872, allocations: 24 kB / 439.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.1875, allocations: 247.5 kB / 440.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1876, allocations: 219.3 kB / 440.3 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1878, allocations: 242.7 kB / 440.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1881, allocations: 499 kB / 441 MB, free: 9.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1881, allocations: 4 kB / 441 MB, free: 9.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1881, allocations: 0 / 441 MB, free: 9.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1882, allocations: 0 / 441 MB, free: 9.227 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00104/0.1892, allocations: 0.7738 MB / 441.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1892, allocations: 19.97 kB / 441.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.1898, allocations: 92.2 kB / 441.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.1902, allocations: 399.2 kB / 442.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1902, allocations: 21.38 kB / 442.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1903, allocations: 60.09 kB / 442.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.191, allocations: 0.6915 MB / 443.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.191, allocations: 7.922 kB / 443.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1911, allocations: 16 kB / 443.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.1913, allocations: 64.95 kB / 443.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.192, allocations: 0.6713 MB / 443.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1943, allocations: 2.658 MB / 446.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.1947, allocations: 317.4 kB / 446.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1949, allocations: 205.6 kB / 447 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.195, allocations: 4 kB / 447 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.195, allocations: 42.55 kB / 447.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.195, allocations: 0 / 447.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00141/0.1964, allocations: 1.295 MB / 448.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.1964, allocations: 81.11 kB / 448.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1966, allocations: 295.2 kB / 448.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1967, allocations: 33.7 kB / 448.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.1967, allocations: 247.8 kB / 449 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.1968, allocations: 142 kB / 449.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.1969, allocations: 86.03 kB / 449.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.197, allocations: 350.7 kB / 449.6 MB, free: 300 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1972, allocations: 184.9 kB / 449.7 MB, free: 112 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1975, allocations: 325.3 kB / 450.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.1981, allocations: 0.5621 MB / 450.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1981, allocations: 0 / 450.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001043/0.1991, allocations: 0.6783 MB / 451.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1992, allocations: 8 kB / 451.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007336/0.1999, allocations: 491.5 kB / 451.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.2003, allocations: 113.6 kB / 451.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2006, allocations: 79.83 kB / 452 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2029, allocations: 3.033 MB / 455 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.2031, allocations: 19.98 kB / 455 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.2031, allocations: 16 kB / 455 MB, free: 10.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.2033, allocations: 217.7 kB / 455.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.2034, allocations: 35.56 kB / 455.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.204, allocations: 468.6 kB / 455.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.2041, allocations: 11.98 kB / 455.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.2041, allocations: 0 / 455.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2041, allocations: 4 kB / 455.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.2053, allocations: 1.019 MB / 456.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2053, allocations: 0 / 456.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.2056, allocations: 67.89 kB / 456.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2057, allocations: 4 kB / 456.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.2057, allocations: 8 kB / 456.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2057, allocations: 0 / 456.9 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2057, allocations: 7.938 kB / 456.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.2065, allocations: 0.7473 MB / 457.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2067, allocations: 136.7 kB / 457.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.2067, allocations: 8 kB / 457.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2069, allocations: 11.98 kB / 457.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2069, allocations: 31.91 kB / 457.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.207, allocations: 11.98 kB / 457.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.2071, allocations: 207.1 kB / 458 MB, free: 7.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2072, allocations: 0 / 458 MB, free: 7.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000407/0.2076, allocations: 104 kB / 458.1 MB, free: 7.203 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.000208/0.2078, allocations: 147.1 kB / 458.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008933/0.2087, allocations: 0.7163 MB / 459 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2087, allocations: 4 kB / 459 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.2089, allocations: 209.4 kB / 459.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.2094, allocations: 75.5 kB / 459.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.2109, allocations: 1.335 MB / 460.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.2114, allocations: 0.8782 MB / 461.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.2115, allocations: 27.44 kB / 461.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2115, allocations: 0 / 461.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of Templates: time 0.007614/0.2191, allocations: 6.842 MB / 468.3 MB, free: 12.88 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o] Error 1