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.0007848/0.0007848, allocations: 90.72 kB / 16.95 MB, free: 5.539 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.0007729/0.0007729, allocations: 190.2 kB / 17.85 MB, free: 5.219 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.621/1.621, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1858/0.1858, allocations: 38.04 MB / 310.3 MB, free: 6.02 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.0007787/0.0007788, allocations: 12 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3002, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005274/0.3055, allocations: 6.512 MB / 440 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.308, allocations: 2.257 MB / 442.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.3083, allocations: 43.69 kB / 442.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3086, allocations: 142.9 kB / 442.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.3093, allocations: 449.8 kB / 442.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.3099, allocations: 391.2 kB / 443.2 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007163/0.3107, allocations: 1.169 MB / 444.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.3117, allocations: 0.7718 MB / 445.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.312, allocations: 350.5 kB / 445.5 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.3125, allocations: 0.5181 MB / 446 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.3126, allocations: 28 kB / 446.1 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.3129, allocations: 155.7 kB / 446.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.3131, allocations: 391 kB / 446.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3133, allocations: 173.3 kB / 446.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.3138, allocations: 0.7482 MB / 447.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3138, allocations: 3.938 kB / 447.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3138, allocations: 0 / 447.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.3138, allocations: 0 / 447.5 MB, free: 4.699 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.001201/0.315, allocations: 0.9311 MB / 448.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3151, allocations: 12.03 kB / 448.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.3156, allocations: 134.9 kB / 448.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.3163, allocations: 0.5077 MB / 449.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.3163, allocations: 54 kB / 449.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.3164, allocations: 79.98 kB / 449.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3176, allocations: 1.118 MB / 450.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.3176, allocations: 7.938 kB / 450.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.3177, allocations: 47.92 kB / 450.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.3178, allocations: 49.98 kB / 450.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.3188, allocations: 0.8584 MB / 451.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.3235, allocations: 5.051 MB / 456.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.3242, allocations: 424.5 kB / 456.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.3245, allocations: 209.7 kB / 457 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.3246, allocations: 15.97 kB / 457 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.3246, allocations: 42.5 kB / 457.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.3246, allocations: 0 / 457.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001688/0.3263, allocations: 1.059 MB / 458.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.3264, allocations: 85.09 kB / 458.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.3269, allocations: 0.4901 MB / 458.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.3269, allocations: 37.7 kB / 458.7 MB, free: 8.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.3272, allocations: 449.6 kB / 459.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3274, allocations: 161.8 kB / 459.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3274, allocations: 16 kB / 459.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3276, allocations: 370.8 kB / 459.7 MB, free: 8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.3279, allocations: 233.8 kB / 459.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.3286, allocations: 0.617 MB / 460.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.329, allocations: 361.2 kB / 460.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.3291, allocations: 8 kB / 460.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001204/0.3303, allocations: 0.8804 MB / 461.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3303, allocations: 12 kB / 461.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.3303, allocations: 19.98 kB / 461.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.3304, allocations: 23.98 kB / 461.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.331, allocations: 216.2 kB / 462 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.331, allocations: 35.88 kB / 462.1 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.3314, allocations: 51.86 kB / 462.1 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/0.3315, allocations: 44 kB / 462.2 MB, free: 5.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.3318, allocations: 305.4 kB / 462.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.023e-05/0.3319, allocations: 51.34 kB / 462.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008707/0.3328, allocations: 0.5563 MB / 463.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3328, allocations: 4 kB / 463.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3328, allocations: 0 / 463.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3328, allocations: 7.938 kB / 463.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.3346, allocations: 1.33 MB / 464.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3346, allocations: 4 kB / 464.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.335, allocations: 115.8 kB / 464.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3351, allocations: 4 kB / 464.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3351, allocations: 8.25 kB / 464.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3351, allocations: 8 kB / 464.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3351, allocations: 4 kB / 464.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.3359, allocations: 0.648 MB / 465.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.336, allocations: 124.4 kB / 465.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.336, allocations: 12 kB / 465.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3363, allocations: 15.98 kB / 465.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.3363, allocations: 47.78 kB / 465.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3364, allocations: 16 kB / 465.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.3367, allocations: 330.8 kB / 465.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3367, allocations: 0 / 465.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3373, allocations: 156 kB / 465.9 MB, free: 1.445 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.3374, allocations: 111.5 kB / 466 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.3382, allocations: 0.599 MB / 466.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.3382, allocations: 4.188 kB / 466.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.3385, allocations: 235.5 kB / 466.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.3392, allocations: 106.4 kB / 466.9 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3414, allocations: 1.718 MB / 468.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.342, allocations: 1.008 MB / 469.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3422, allocations: 59.42 kB / 469.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3422, allocations: 0 / 469.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Templates: time 0.01071/0.3529, allocations: 8.164 MB / 477.9 MB, free: 5.344 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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