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.0009015/0.0009015, allocations: 101 kB / 17.16 MB, free: 6.09 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.0008685/0.0008685, allocations: 202.9 kB / 18.08 MB, free: 5.305 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.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1549/0.1549, allocations: 37.99 MB / 309.3 MB, free: 6.242 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.001134/0.001134, allocations: 63.59 kB / 375.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1858, allocations: 55.25 MB / 430.5 MB, free: 20.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.004998/0.1908, allocations: 6.559 MB / 437.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1924, allocations: 1.734 MB / 438.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1927, allocations: 39.75 kB / 438.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.193, allocations: 119.3 kB / 439 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.1935, allocations: 350.5 kB / 439.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1937, allocations: 131.9 kB / 439.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1943, allocations: 1.153 MB / 440.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1945, allocations: 192.8 kB / 440.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1948, allocations: 298.5 kB / 441.1 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1952, allocations: 418.6 kB / 441.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.1952, allocations: 28 kB / 441.5 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1953, allocations: 28 kB / 441.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1954, allocations: 199.4 kB / 441.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1956, allocations: 266.5 kB / 442 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1959, allocations: 431 kB / 442.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1959, allocations: 4 kB / 442.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1959, allocations: 0 / 442.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1959, allocations: 0 / 442.4 MB, free: 8.117 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.001048/0.197, allocations: 0.8919 MB / 443.3 MB, free: 7.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.197, allocations: 8.031 kB / 443.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.1971, allocations: 60.19 kB / 443.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.1976, allocations: 486.6 kB / 443.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1977, allocations: 32.94 kB / 443.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.1977, allocations: 44 kB / 443.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1983, allocations: 0.5351 MB / 444.4 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1983, allocations: 3.938 kB / 444.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1983, allocations: 16 kB / 444.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.1984, allocations: 21 kB / 444.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.1988, allocations: 395.6 kB / 444.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.2004, allocations: 1.924 MB / 446.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.2008, allocations: 340.5 kB / 447.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.2011, allocations: 185.9 kB / 447.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2011, allocations: 15.94 kB / 447.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.2014, allocations: 280.2 kB / 447.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.2014, allocations: 0 / 447.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.00129/0.2027, allocations: 1.174 MB / 448.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2028, allocations: 174.3 kB / 448.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.203, allocations: 393.8 kB / 449.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.203, allocations: 37.7 kB / 449.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2032, allocations: 295.6 kB / 449.7 MB, free: 456 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.2032, allocations: 114.3 kB / 449.8 MB, free: 340 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.2033, allocations: 98.14 kB / 449.9 MB, free: 236 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2034, allocations: 354.8 kB / 450.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2036, allocations: 117 kB / 450.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.2039, allocations: 294.1 kB / 450.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.2045, allocations: 485.3 kB / 451.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2045, allocations: 0 / 451.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006909/0.2052, allocations: 0.5218 MB / 451.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.2052, allocations: 37.69 kB / 451.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.2053, allocations: 4 kB / 451.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2053, allocations: 8 kB / 451.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.2057, allocations: 107.8 kB / 451.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.2057, allocations: 15.92 kB / 451.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.2059, allocations: 23.98 kB / 451.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.206, allocations: 32.23 kB / 451.8 MB, free: 14.07 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.0002409/0.2062, allocations: 255.2 kB / 452.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.2063, allocations: 51.38 kB / 452.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.207, allocations: 451.7 kB / 452.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.207, allocations: 4 kB / 452.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.207, allocations: 0 / 452.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.207, allocations: 0 / 452.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.2081, allocations: 0.9729 MB / 453.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2082, allocations: 0 / 453.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.2085, allocations: 67.91 kB / 453.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2085, allocations: 0 / 453.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2085, allocations: 11.98 kB / 453.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2085, allocations: 4 kB / 453.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2085, allocations: 0 / 453.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009216/0.2094, allocations: 0.717 MB / 454.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.2096, allocations: 136.5 kB / 454.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.2097, allocations: 11.94 kB / 454.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2099, allocations: 15.98 kB / 454.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.21, allocations: 23.97 kB / 454.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.21, allocations: 32.02 kB / 454.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.2103, allocations: 279.1 kB / 454.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2103, allocations: 0 / 454.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.2107, allocations: 103.9 kB / 454.9 MB, free: 10.82 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.0001449/0.2108, allocations: 115.2 kB / 455 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005395/0.2114, allocations: 423.9 kB / 455.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2114, allocations: 0 / 455.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.2117, allocations: 259.2 kB / 455.7 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.2123, allocations: 94.34 kB / 455.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2137, allocations: 1.217 MB / 457 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.2142, allocations: 0.882 MB / 457.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.2143, allocations: 43.42 kB / 457.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2143, allocations: 0 / 457.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of Templates: time 0.007008/0.2213, allocations: 5.885 MB / 463.8 MB, free: 1.82 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