Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.000945, allocations: 106.9 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.0008822/0.0008819, 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.274/1.274, 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.1813/0.1813, allocations: 37.98 MB / 309.2 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.001197/0.001197, allocations: 67.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1971, allocations: 55.24 MB / 430.5 MB, free: 19.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006105/0.2032, allocations: 7.352 MB / 437.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2062, allocations: 2.393 MB / 440.2 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.2066, allocations: 47.69 kB / 440.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.208, allocations: 0.6519 MB / 440.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.2086, allocations: 358.5 kB / 441.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.2093, allocations: 359.3 kB / 441.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.2101, allocations: 1.497 MB / 443.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.2106, allocations: 498.9 kB / 443.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.2109, allocations: 362.4 kB / 444 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.2114, allocations: 0.5686 MB / 444.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.2115, allocations: 40 kB / 444.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.2119, allocations: 251.6 kB / 444.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.2121, allocations: 403 kB / 445.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.2124, allocations: 405.9 kB / 445.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.2129, allocations: 0.764 MB / 446.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2129, allocations: 0 / 446.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2129, allocations: 0 / 446.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2129, allocations: 0 / 446.4 MB, free: 3.727 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001316/0.2142, allocations: 1.072 MB / 447.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2143, allocations: 8.031 kB / 447.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.2149, allocations: 139.8 kB / 447.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.2155, allocations: 0.5089 MB / 448.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2155, allocations: 58.38 kB / 448.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.2156, allocations: 84.11 kB / 448.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.2167, allocations: 1.134 MB / 449.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.2168, allocations: 11.84 kB / 449.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.2168, allocations: 32 kB / 449.4 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.2169, allocations: 49.97 kB / 449.5 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.218, allocations: 0.874 MB / 450.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004901/0.2229, allocations: 5.043 MB / 455.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.2236, allocations: 434.1 kB / 455.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.2239, allocations: 205.7 kB / 456 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.224, allocations: 11.98 kB / 456 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.224, allocations: 38.5 kB / 456.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.224, allocations: 0 / 456.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001801/0.2258, allocations: 1.075 MB / 457.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.2259, allocations: 88.98 kB / 457.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.2264, allocations: 0.49 MB / 457.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.2265, allocations: 37.7 kB / 457.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.2268, allocations: 457.7 kB / 458.2 MB, free: 7.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.227, allocations: 153.8 kB / 458.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.2272, allocations: 150.5 kB / 458.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.2273, allocations: 370.9 kB / 458.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.2277, allocations: 233.8 kB / 459.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.2284, allocations: 0.6171 MB / 459.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2295, allocations: 0.934 MB / 460.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2295, allocations: 8 kB / 460.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00118/0.2307, allocations: 0.8998 MB / 461.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2307, allocations: 8 kB / 461.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2307, allocations: 16 kB / 461.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.2307, allocations: 16 kB / 461.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.2314, allocations: 223.6 kB / 461.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.607e-05/0.2314, allocations: 27.86 kB / 461.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.2318, allocations: 51.88 kB / 461.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.2319, allocations: 47.98 kB / 461.9 MB, free: 3.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.2322, allocations: 309.5 kB / 462.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.2323, allocations: 55.28 kB / 462.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.2331, allocations: 0.5524 MB / 462.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.2332, allocations: 4 kB / 462.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2332, allocations: 4 kB / 462.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2332, allocations: 7.984 kB / 462.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.235, allocations: 1.334 MB / 464.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2351, allocations: 0 / 464.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.2355, allocations: 111.9 kB / 464.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2355, allocations: 7.938 kB / 464.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2355, allocations: 12 kB / 464.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2355, allocations: 7.938 kB / 464.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2355, allocations: 3.984 kB / 464.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.2362, allocations: 0.6561 MB / 465 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.2364, allocations: 128.3 kB / 465.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.2365, allocations: 15.94 kB / 465.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.2367, allocations: 19.98 kB / 465.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.2368, allocations: 31.95 kB / 465.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2368, allocations: 16 kB / 465.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003132/0.2371, allocations: 330.8 kB / 465.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2371, allocations: 4 kB / 465.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005923/0.2377, allocations: 160 kB / 465.7 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001127/0.2378, allocations: 111.4 kB / 465.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.2386, allocations: 0.6107 MB / 466.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2386, allocations: 0 / 466.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.2389, allocations: 248.2 kB / 466.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.2396, allocations: 114.6 kB / 466.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.2416, allocations: 1.751 MB / 468.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.2422, allocations: 1.011 MB / 469.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2424, allocations: 51.44 kB / 469.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2424, allocations: 0 / 469.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009744/0.2521, allocations: 8.186 MB / 477.8 MB, free: 3.188 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.UnitsCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o] Error 1