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.0008107/0.0008108, allocations: 96.06 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.0008372/0.0008373, allocations: 182.7 kB / 18.22 MB, free: 5.395 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.439/1.439, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1928/0.1928, allocations: 38.1 MB / 331.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 9.688 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 59.16 MB / 460.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006943/0.1297, allocations: 7.135 MB / 467.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.1342, allocations: 2.758 MB / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.1347, allocations: 43.69 kB / 470.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1353, allocations: 194.9 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1366, allocations: 0.6423 MB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.1375, allocations: 403.3 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.1396, allocations: 2.285 MB / 474 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.1407, allocations: 0.7687 MB / 474.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.1414, allocations: 473.8 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.1425, allocations: 0.8061 MB / 476 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.1426, allocations: 44 kB / 476.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.1431, allocations: 271.5 kB / 476.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.1436, allocations: 490.8 kB / 476.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004734/0.144, allocations: 0.4991 MB / 477.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.1449, allocations: 0.9858 MB / 478.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1449, allocations: 0 / 478.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1449, allocations: 0 / 478.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1449, allocations: 3.938 kB / 478.3 MB, free: 5.199 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.001963/0.1469, allocations: 1.136 MB / 479.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.147, allocations: 12.03 kB / 479.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00098/0.1479, allocations: 199.4 kB / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.1489, allocations: 0.6783 MB / 480.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.149, allocations: 70.36 kB / 480.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.1492, allocations: 96.05 kB / 480.5 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.151, allocations: 1.384 MB / 481.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.151, allocations: 8 kB / 481.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.1511, allocations: 35.98 kB / 481.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002581/0.1514, allocations: 121.8 kB / 482 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.1529, allocations: 1.097 MB / 483.1 MB, free: 176 kB / 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.005941/0.1589, allocations: 5.961 MB / 489.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.1598, allocations: 0.7059 MB / 489.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004765/0.1603, allocations: 315.3 kB / 490.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.1604, allocations: 20.53 kB / 490.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.161, allocations: 472.8 kB / 490.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.1611, allocations: 0 / 490.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003222/0.1643, allocations: 2.152 MB / 492.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.1644, allocations: 170.7 kB / 492.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.1651, allocations: 0.6405 MB / 493.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.1652, allocations: 41.7 kB / 493.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.1655, allocations: 0.5249 MB / 494.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1657, allocations: 224.9 kB / 494.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1658, allocations: 93.66 kB / 494.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.166, allocations: 394.7 kB / 494.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.1665, allocations: 342.4 kB / 495.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008165/0.1674, allocations: 0.7659 MB / 495.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1688, allocations: 1.244 MB / 497.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.1689, allocations: 4 kB / 497.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002371/0.1712, allocations: 1.446 MB / 498.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.1713, allocations: 44.3 kB / 498.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001382/0.1727, allocations: 0.7937 MB / 499.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.1734, allocations: 252.8 kB / 499.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.1741, allocations: 215.6 kB / 499.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.1785, allocations: 4.033 MB / 0.4921 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.1793, allocations: 59.91 kB / 0.4922 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.1794, allocations: 72.11 kB / 0.4922 GB, free: 9.98 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,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00063/0.18, allocations: 406.8 kB / 0.4926 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1801, allocations: 75.06 kB / 0.4927 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.1815, allocations: 0.8477 MB / 0.4935 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1815, allocations: 4 kB / 0.4935 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1815, allocations: 4 kB / 0.4935 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1815, allocations: 7.922 kB / 0.4935 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.184, allocations: 1.764 MB / 0.4953 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1841, allocations: 3.938 kB / 0.4953 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.1847, allocations: 151.8 kB / 0.4954 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1848, allocations: 4 kB / 0.4954 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.1848, allocations: 23.97 kB / 0.4954 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1848, allocations: 4 kB / 0.4954 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1848, allocations: 4 kB / 0.4954 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1864, allocations: 1.301 MB / 0.4967 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.1867, allocations: 208 kB / 0.4969 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.1868, allocations: 20 kB / 0.4969 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.1871, allocations: 31.97 kB / 0.497 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1873, allocations: 44.45 kB / 0.497 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.1873, allocations: 39.95 kB / 0.497 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004548/0.1878, allocations: 423 kB / 0.4974 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1878, allocations: 0 / 0.4974 GB, free: 4.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009061/0.1887, allocations: 236 kB / 0.4977 GB, free: 4.238 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 (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.000178/0.1889, allocations: 128.9 kB / 0.4978 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.1907, allocations: 1.237 MB / 0.499 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1907, allocations: 4.125 kB / 0.499 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.1913, allocations: 462.3 kB / 0.4994 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.1921, allocations: 139.4 kB / 0.4996 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2801/0.4723, allocations: 2.529 MB / 0.502 GB, free: 55.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009382/0.4733, allocations: 1.108 MB / 0.5031 GB, free: 55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.4736, allocations: 67.81 kB / 0.5032 GB, free: 54.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4736, allocations: 0 / 0.5032 GB, free: 54.99 MB / 382.1 MB Notification: Performance of Templates: time 0.03293/0.5066, allocations: 13.84 MB / 0.5167 GB, free: 50.91 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++ -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_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