Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008545, allocations: 91.72 kB / 17.31 MB, free: 5.934 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.0008374/0.0008374, allocations: 180.3 kB / 18.22 MB, free: 5.395 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.781/1.781, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1803/0.1803, allocations: 38.05 MB / 310.7 MB, free: 5.883 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.0005287/0.0005288, allocations: 23.12 kB / 377.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3348, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006773/0.3416, allocations: 6.15 MB / 440.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.3446, allocations: 1.703 MB / 442 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.345, allocations: 35.75 kB / 442 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.3454, allocations: 115.3 kB / 442.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.3462, allocations: 354.5 kB / 442.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3466, allocations: 131.8 kB / 442.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.3474, allocations: 1.157 MB / 443.8 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.3477, allocations: 184.8 kB / 444 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.3481, allocations: 282.6 kB / 444.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.3486, allocations: 398.6 kB / 444.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.3487, allocations: 27.94 kB / 444.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.3487, allocations: 20 kB / 444.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.3489, allocations: 191.3 kB / 444.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.3491, allocations: 276.3 kB / 445.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.3495, allocations: 430.9 kB / 445.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3495, allocations: 0 / 445.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.3495, allocations: 0 / 445.5 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.3495, allocations: 0 / 445.5 MB, free: 7.215 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001461/0.351, allocations: 0.7946 MB / 446.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.351, allocations: 12.03 kB / 446.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.3512, allocations: 60.19 kB / 446.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.3519, allocations: 490.6 kB / 446.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.352, allocations: 36.94 kB / 446.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.3521, allocations: 39.98 kB / 447 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.3529, allocations: 0.5312 MB / 447.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3529, allocations: 0 / 447.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.353, allocations: 20 kB / 447.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.353, allocations: 21 kB / 447.5 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.3536, allocations: 391.6 kB / 447.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.3561, allocations: 1.94 MB / 449.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.3568, allocations: 321.4 kB / 450.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3571, allocations: 197.5 kB / 450.4 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3572, allocations: 8 kB / 450.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.3576, allocations: 284.1 kB / 450.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.3577, allocations: 0 / 450.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.00186/0.3595, allocations: 1.182 MB / 451.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.3596, allocations: 166.2 kB / 452 MB, free: 372 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.36, allocations: 397.9 kB / 452.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.36, allocations: 29.7 kB / 452.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.3603, allocations: 295.5 kB / 452.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3605, allocations: 118.4 kB / 452.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.3605, allocations: 53.81 kB / 452.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3608, allocations: 350.8 kB / 453.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.361, allocations: 121 kB / 453.3 MB, free: 15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.3614, allocations: 286.1 kB / 453.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.362, allocations: 485.3 kB / 454.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3621, allocations: 3.938 kB / 454.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007896/0.3628, allocations: 0.5215 MB / 454.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.3629, allocations: 41.62 kB / 454.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3629, allocations: 8 kB / 454.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.363, allocations: 8 kB / 454.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.3634, allocations: 112.5 kB / 454.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.3634, allocations: 15.98 kB / 454.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.3636, allocations: 27.89 kB / 454.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.3637, allocations: 31.98 kB / 454.8 MB, free: 13.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0002667/0.364, allocations: 251.2 kB / 455.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.364, allocations: 43.47 kB / 455.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.3648, allocations: 459.6 kB / 455.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.3648, allocations: 8 kB / 455.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3648, allocations: 4 kB / 455.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3648, allocations: 3.984 kB / 455.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3661, allocations: 0.9612 MB / 456.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3661, allocations: 4 kB / 456.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.3664, allocations: 63.91 kB / 456.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3664, allocations: 0 / 456.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.3665, allocations: 24 kB / 456.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3665, allocations: 0 / 456.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3665, allocations: 0 / 456.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.3674, allocations: 0.7092 MB / 457.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.3676, allocations: 136.5 kB / 457.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.3676, allocations: 12 kB / 457.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.3679, allocations: 20.05 kB / 457.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.3679, allocations: 27.91 kB / 457.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.368, allocations: 31.95 kB / 457.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.3683, allocations: 271.1 kB / 457.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3683, allocations: 0 / 457.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.3687, allocations: 103.9 kB / 458 MB, free: 10.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001603/0.3689, allocations: 119.1 kB / 458.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.3695, allocations: 414.8 kB / 458.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3695, allocations: 0 / 458.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.3698, allocations: 264.5 kB / 458.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.3705, allocations: 102 kB / 458.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3722, allocations: 1.265 MB / 460.1 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.3727, allocations: 0.8859 MB / 461 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.3729, allocations: 35.44 kB / 461 MB, free: 6.887 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3729, allocations: 0 / 461 MB, free: 6.887 MB / 334.1 MB Notification: Performance of Templates: time 0.009522/0.3824, allocations: 5.838 MB / 466.9 MB, free: 1.047 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.o] Error 1