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.001066/0.001066, allocations: 101 kB / 17.16 MB, free: 6.094 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.0009506/0.0009506, 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 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1628/0.1628, allocations: 38.04 MB / 329.9 MB, free: 9.121 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 53.27 kB / 398.7 MB, free: 34.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1217, allocations: 58.07 MB / 456.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00876/0.1305, allocations: 7.573 MB / 464.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.1362, allocations: 2.785 MB / 467.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.1369, allocations: 47.62 kB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1385, allocations: 0.5759 MB / 467.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1398, allocations: 0.6423 MB / 468.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1409, allocations: 399.3 kB / 468.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.143, allocations: 2.293 MB / 471.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006873/0.1437, allocations: 463.2 kB / 471.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.1444, allocations: 493.9 kB / 472 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1455, allocations: 0.8373 MB / 472.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1456, allocations: 48 kB / 472.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1462, allocations: 275.5 kB / 473.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.1467, allocations: 0.4987 MB / 473.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004852/0.1472, allocations: 0.4973 MB / 474.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000993/0.1482, allocations: 0.9979 MB / 475.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.1482, allocations: 0 / 475.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1482, allocations: 3.938 kB / 475.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1482, allocations: 0 / 475.2 MB, free: 6.113 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.002487/0.1507, allocations: 1.33 MB / 476.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1508, allocations: 8.031 kB / 476.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000997/0.1518, allocations: 203.4 kB / 476.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.1528, allocations: 0.6628 MB / 477.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.1529, allocations: 66.36 kB / 477.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.1531, allocations: 104.1 kB / 477.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1551, allocations: 1.38 MB / 478.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.1551, allocations: 11.84 kB / 478.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.1552, allocations: 35.98 kB / 479 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/0.1555, allocations: 121.9 kB / 479.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.1571, allocations: 1.096 MB / 480.2 MB, free: 0.9023 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.006623/0.1638, allocations: 5.961 MB / 486.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1648, allocations: 0.7138 MB / 486.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.1653, allocations: 319.3 kB / 487.2 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1653, allocations: 4.562 kB / 487.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007847/0.1661, allocations: 484.5 kB / 487.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/0.1661, allocations: 3.938 kB / 487.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.004198/0.1703, allocations: 2.141 MB / 489.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.1705, allocations: 174.9 kB / 490 MB, free: 6.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.1712, allocations: 0.6405 MB / 490.6 MB, free: 5.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.1712, allocations: 37.7 kB / 490.7 MB, free: 5.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.1716, allocations: 0.525 MB / 491.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1718, allocations: 232.8 kB / 491.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.1721, allocations: 202.7 kB / 491.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1723, allocations: 386.7 kB / 492 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.1728, allocations: 346.3 kB / 492.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.1736, allocations: 0.7776 MB / 493.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.1751, allocations: 1.236 MB / 494.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1751, allocations: 4 kB / 494.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002347/0.1774, allocations: 1.438 MB / 495.8 MB, free: 360 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.1775, allocations: 41.64 kB / 495.8 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001409/0.1789, allocations: 0.7943 MB / 496.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007041/0.1796, allocations: 257.4 kB / 496.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.1803, allocations: 211.6 kB / 497.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.1845, allocations: 4.032 MB / 0.4894 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.1851, allocations: 55.83 kB / 0.4894 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.1852, allocations: 63.97 kB / 0.4895 GB, free: 10.62 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.0005438/0.1857, allocations: 411 kB / 0.4899 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1858, allocations: 75.14 kB / 0.4899 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.1872, allocations: 0.8437 MB / 0.4908 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1872, allocations: 8 kB / 0.4908 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1872, allocations: 0 / 0.4908 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1872, allocations: 7.922 kB / 0.4908 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.1897, allocations: 1.764 MB / 0.4925 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.1897, allocations: 7.938 kB / 0.4925 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.1904, allocations: 151.9 kB / 0.4926 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1904, allocations: 8 kB / 0.4927 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.1904, allocations: 20 kB / 0.4927 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1904, allocations: 4 kB / 0.4927 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1905, allocations: 7.984 kB / 0.4927 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.1922, allocations: 1.301 MB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.1925, allocations: 204 kB / 0.4941 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/0.1926, allocations: 20 kB / 0.4942 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.193, allocations: 27.97 kB / 0.4942 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1931, allocations: 40.5 kB / 0.4942 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.1932, allocations: 51.89 kB / 0.4943 GB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.1937, allocations: 431 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1937, allocations: 0 / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008139/0.1945, allocations: 228 kB / 0.4949 GB, free: 4.867 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.0001746/0.1947, allocations: 126.5 kB / 0.495 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1967, allocations: 1.232 MB / 0.4962 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.1967, allocations: 4 kB / 0.4962 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.1973, allocations: 467.9 kB / 0.4967 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.1981, allocations: 127.1 kB / 0.4968 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.2018, allocations: 2.476 MB / 0.4992 GB, free: 352 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/0.2027, allocations: 1.115 MB / 0.5003 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.2029, allocations: 67.42 kB / 0.5004 GB, free: 15.14 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2029, allocations: 7.875 kB / 0.5004 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Templates: time 0.02236/0.2253, allocations: 13.91 MB / 0.514 GB, free: 1.234 MB / 398.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