Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007884/0.0007884, allocations: 93.36 kB / 16.95 MB, free: 5.953 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.0008626/0.0008626, allocations: 178.3 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1756/0.1756, allocations: 38.1 MB / 331.1 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 11.98 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 59.17 MB / 459.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.0069/0.1307, allocations: 6.746 MB / 466.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.1346, allocations: 2.595 MB / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1351, allocations: 43.69 kB / 469.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.1355, allocations: 186.7 kB / 469.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1368, allocations: 0.6924 MB / 470.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.1378, allocations: 411.2 kB / 470.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1393, allocations: 1.743 MB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1404, allocations: 0.6985 MB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.141, allocations: 489.9 kB / 473.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009876/0.142, allocations: 0.7907 MB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.394e-05/0.1421, allocations: 43.94 kB / 474.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.1425, allocations: 183.7 kB / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.1429, allocations: 498.8 kB / 475 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1431, allocations: 205.1 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.144, allocations: 0.9781 MB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.144, allocations: 0 / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.144, allocations: 0 / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.144, allocations: 0 / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001764/0.1458, allocations: 1.155 MB / 477.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1458, allocations: 8.031 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/0.1467, allocations: 198.4 kB / 477.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.1477, allocations: 0.6618 MB / 478.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.1477, allocations: 61.95 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1479, allocations: 99.89 kB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.1498, allocations: 1.376 MB / 479.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.1498, allocations: 11.92 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.1499, allocations: 35.98 kB / 479.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000252/0.1501, allocations: 121.9 kB / 479.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.1518, allocations: 1.089 MB / 480.9 MB, free: 2.059 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/0.1581, allocations: 5.973 MB / 486.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1591, allocations: 0.6983 MB / 487.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.1596, allocations: 319.3 kB / 487.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.1597, allocations: 12.55 kB / 487.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.1603, allocations: 468.6 kB / 488.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.697e-06/0.1604, allocations: 0 / 488.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003236/0.1636, allocations: 2.152 MB / 490.5 MB, free: 8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.1637, allocations: 166.8 kB / 490.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.1644, allocations: 0.6289 MB / 491.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.1644, allocations: 37.7 kB / 491.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.1648, allocations: 0.5288 MB / 491.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.165, allocations: 232.8 kB / 492.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.165, allocations: 20.12 kB / 492.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1652, allocations: 394.8 kB / 492.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.1657, allocations: 334.4 kB / 492.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.1665, allocations: 0.7659 MB / 493.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.1672, allocations: 0.4917 MB / 494.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1672, allocations: 4 kB / 494.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002361/0.1696, allocations: 1.438 MB / 495.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.1697, allocations: 41.69 kB / 495.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001325/0.171, allocations: 0.7824 MB / 496.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.1717, allocations: 252.8 kB / 496.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.1723, allocations: 215.6 kB / 496.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.1765, allocations: 4.025 MB / 0.4891 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.1772, allocations: 59.92 kB / 0.4892 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.1773, allocations: 63.97 kB / 0.4892 GB, free: 12.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.1778, allocations: 402.9 kB / 0.4896 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.1779, allocations: 79.12 kB / 0.4897 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.1792, allocations: 0.8515 MB / 0.4905 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1792, allocations: 4 kB / 0.4905 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1792, allocations: 0 / 0.4905 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.1793, allocations: 12.02 kB / 0.4905 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.1818, allocations: 1.76 MB / 0.4923 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1818, allocations: 4 kB / 0.4923 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.1824, allocations: 148 kB / 0.4924 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.1824, allocations: 15.94 kB / 0.4924 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.1825, allocations: 27.94 kB / 0.4925 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.1825, allocations: 4 kB / 0.4925 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1825, allocations: 4 kB / 0.4925 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.1842, allocations: 1.293 MB / 0.4937 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.1845, allocations: 204.1 kB / 0.4939 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.1846, allocations: 16 kB / 0.4939 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.1849, allocations: 35.92 kB / 0.494 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.185, allocations: 40.5 kB / 0.494 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.1851, allocations: 43.97 kB / 0.4941 GB, free: 7.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004776/0.1855, allocations: 423 kB / 0.4945 GB, free: 7.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.1856, allocations: 3.938 kB / 0.4945 GB, free: 7.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000879/0.1864, allocations: 235.9 kB / 0.4947 GB, free: 7.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.000168/0.1866, allocations: 118.2 kB / 0.4948 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.1884, allocations: 1.22 MB / 0.496 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1884, allocations: 4 kB / 0.496 GB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.189, allocations: 464.1 kB / 0.4964 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.1897, allocations: 127.3 kB / 0.4966 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.1932, allocations: 2.465 MB / 0.499 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.194, allocations: 1.107 MB / 0.5 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.1942, allocations: 67.42 kB / 0.5001 GB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 3.747e-06/0.1942, allocations: 4 kB / 0.5001 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Templates: time 0.2044/0.3986, allocations: 13.86 MB / 0.5137 GB, free: 51.2 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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_latest_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o] Error 1