Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008749/0.0008749, 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.198/1.198, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1561/0.1561, allocations: 37.99 MB / 309.3 MB, free: 6.25 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.001202/0.001202, allocations: 71.58 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1959, allocations: 55.24 MB / 430.5 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004351/0.2003, allocations: 5.122 MB / 435.6 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2022, allocations: 1.785 MB / 437.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2024, allocations: 23.88 kB / 437.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.2031, allocations: 255 kB / 437.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.2035, allocations: 246.9 kB / 437.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.2039, allocations: 227.6 kB / 438.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.2044, allocations: 0.8925 MB / 439 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.2048, allocations: 277.1 kB / 439.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.205, allocations: 258.9 kB / 439.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.2054, allocations: 386.8 kB / 439.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.2054, allocations: 28 kB / 440 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.2056, allocations: 147.7 kB / 440.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.2058, allocations: 231.4 kB / 440.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.206, allocations: 254.6 kB / 440.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.2063, allocations: 0.4989 MB / 441.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2063, allocations: 0 / 441.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2063, allocations: 4 kB / 441.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2063, allocations: 0 / 441.1 MB, free: 9.336 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001442/0.2078, allocations: 0.875 MB / 442 MB, free: 8.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2078, allocations: 8.031 kB / 442 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.2083, allocations: 92.22 kB / 442.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.209, allocations: 479.8 kB / 442.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.209, allocations: 29.38 kB / 442.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.2091, allocations: 59.95 kB / 442.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2098, allocations: 0.6962 MB / 443.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2098, allocations: 3.938 kB / 443.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2099, allocations: 16 kB / 443.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.783e-05/0.21, allocations: 32.98 kB / 443.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.2106, allocations: 0.5267 MB / 443.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.213, allocations: 3.106 MB / 447 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.2135, allocations: 329.2 kB / 447.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2137, allocations: 173.7 kB / 447.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.2137, allocations: 8.484 kB / 447.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.2137, allocations: 38.56 kB / 447.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.512e-06/0.2137, allocations: 4 kB / 447.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001457/0.2152, allocations: 1.215 MB / 448.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2152, allocations: 81.11 kB / 448.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.2155, allocations: 389.5 kB / 449.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2155, allocations: 33.7 kB / 449.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.2156, allocations: 295.2 kB / 449.5 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.2157, allocations: 122.4 kB / 449.7 MB, free: 344 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2158, allocations: 106.1 kB / 449.8 MB, free: 232 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.2159, allocations: 354.7 kB / 450.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.2162, allocations: 193 kB / 450.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2165, allocations: 381.5 kB / 450.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.2172, allocations: 0.6009 MB / 451.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2172, allocations: 0 / 451.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001676/0.2189, allocations: 0.8341 MB / 452.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2189, allocations: 7.938 kB / 452.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2189, allocations: 8 kB / 452.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.2201, allocations: 261.5 kB / 452.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.2207, allocations: 139.8 kB / 452.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.2248, allocations: 3.756 MB / 456.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2252, allocations: 28.05 kB / 456.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.2252, allocations: 27.98 kB / 456.3 MB, free: 9.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.2255, allocations: 225.5 kB / 456.5 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.2256, allocations: 39.53 kB / 456.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.2263, allocations: 489 kB / 457.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2263, allocations: 4 kB / 457.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2263, allocations: 0 / 457.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2263, allocations: 3.984 kB / 457.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2276, allocations: 1.011 MB / 458.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2276, allocations: 4 kB / 458.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.228, allocations: 84.14 kB / 458.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.228, allocations: 4 kB / 458.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.228, allocations: 19.98 kB / 458.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.2281, allocations: 0 / 458.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2281, allocations: 4 kB / 458.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008581/0.2289, allocations: 0.747 MB / 458.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.229, allocations: 112.6 kB / 459.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.2291, allocations: 8.062 kB / 459.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2293, allocations: 23.97 kB / 459.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.2294, allocations: 23.91 kB / 459.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.2294, allocations: 12 kB / 459.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.2297, allocations: 267.1 kB / 459.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2297, allocations: 0 / 459.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2301, allocations: 124 kB / 459.5 MB, free: 5.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.0001024/0.2302, allocations: 107.2 kB / 459.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.2315, allocations: 0.7987 MB / 460.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2315, allocations: 0 / 460.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.2318, allocations: 199.7 kB / 460.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.2323, allocations: 94.02 kB / 460.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.2354, allocations: 1.725 MB / 462.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.2359, allocations: 0.8901 MB / 463.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.236, allocations: 39.42 kB / 463.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.236, allocations: 0 / 463.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Templates: time 0.009414/0.2455, allocations: 7.867 MB / 471.2 MB, free: 10.08 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.LoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.o] Error 1