Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009365/0.0009365, allocations: 105.2 kB / 17.16 MB, free: 6.082 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.0009065/0.0009064, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.174/1.174, allocations: 205.1 MB / 223.9 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1552/0.1552, allocations: 37.99 MB / 309.3 MB, free: 6.238 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.001173/0.001173, allocations: 67.03 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1867, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005594/0.1924, allocations: 7.567 MB / 438.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.1956, allocations: 2.84 MB / 440.9 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.196, allocations: 39.75 kB / 441 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1972, allocations: 0.5759 MB / 441.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008684/0.1981, allocations: 0.6423 MB / 442.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.1988, allocations: 403.3 kB / 442.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1999, allocations: 2.289 MB / 444.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.2003, allocations: 467.1 kB / 445.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.2007, allocations: 493.8 kB / 445.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.2015, allocations: 0.8413 MB / 446.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.2016, allocations: 48 kB / 446.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.2019, allocations: 275.5 kB / 447 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.2022, allocations: 0.4988 MB / 447.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.2026, allocations: 0.4896 MB / 447.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.2031, allocations: 1.006 MB / 448.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2031, allocations: 0 / 448.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2032, allocations: 0 / 448.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.2032, allocations: 0 / 448.9 MB, free: 1.285 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.00172/0.2049, allocations: 1.33 MB / 450.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2049, allocations: 8.031 kB / 450.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.2059, allocations: 199.5 kB / 450.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.2068, allocations: 0.6744 MB / 451.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.2069, allocations: 62.36 kB / 451.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.2071, allocations: 96.09 kB / 451.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.2088, allocations: 1.396 MB / 452.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.2089, allocations: 11.92 kB / 452.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.2089, allocations: 35.98 kB / 452.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.2092, allocations: 117.9 kB / 452.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.2107, allocations: 1.089 MB / 454 MB, free: 12.07 MB / 334.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.005704/0.2164, allocations: 5.965 MB / 459.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009155/0.2174, allocations: 0.7048 MB / 460.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.2178, allocations: 319.3 kB / 460.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.2178, allocations: 12.55 kB / 461 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.2185, allocations: 480.8 kB / 461.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.484e-06/0.2185, allocations: 4 kB / 461.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.002902/0.2214, allocations: 2.152 MB / 463.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.2215, allocations: 170.8 kB / 463.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.2221, allocations: 0.6289 MB / 464.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2222, allocations: 37.7 kB / 464.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.2225, allocations: 0.5327 MB / 464.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.2227, allocations: 232.9 kB / 465.2 MB, free: 344 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.2229, allocations: 210.7 kB / 465.4 MB, free: 124 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2231, allocations: 386.7 kB / 465.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.2235, allocations: 342.4 kB / 466.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007428/0.2243, allocations: 0.7659 MB / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2256, allocations: 1.244 MB / 468.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2256, allocations: 4 kB / 468.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002169/0.2278, allocations: 1.435 MB / 469.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.2278, allocations: 41.64 kB / 469.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001271/0.2291, allocations: 0.7858 MB / 470.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/0.2298, allocations: 257.6 kB / 470.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.2304, allocations: 215.6 kB / 470.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.2343, allocations: 4.035 MB / 474.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.2349, allocations: 59.97 kB / 474.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.235, allocations: 59.98 kB / 475 MB, free: 5.785 MB / 350.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.0004572/0.2354, allocations: 406.8 kB / 475.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.2355, allocations: 75.06 kB / 475.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.2367, allocations: 0.8478 MB / 476.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2367, allocations: 8 kB / 476.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2368, allocations: 0 / 476.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2368, allocations: 7.922 kB / 476.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.239, allocations: 1.764 MB / 478.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2391, allocations: 7.922 kB / 478.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.2397, allocations: 151.8 kB / 478.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.2397, allocations: 4 kB / 478.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.2398, allocations: 16 kB / 478.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2398, allocations: 7.984 kB / 478.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2398, allocations: 3.938 kB / 478.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.2413, allocations: 1.297 MB / 479.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2416, allocations: 204.1 kB / 479.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.2417, allocations: 28 kB / 479.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.242, allocations: 27.97 kB / 479.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2421, allocations: 44.44 kB / 479.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.2422, allocations: 39.95 kB / 479.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004126/0.2426, allocations: 427 kB / 480.3 MB, free: 280 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2426, allocations: 0 / 480.3 MB, free: 280 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007447/0.2434, allocations: 232 kB / 480.5 MB, free: 48 kB / 350.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.0001505/0.2435, allocations: 127.2 kB / 480.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.2451, allocations: 1.233 MB / 481.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2451, allocations: 64 / 481.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.2457, allocations: 470.3 kB / 482.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.2464, allocations: 135.8 kB / 482.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.2493, allocations: 2.48 MB / 485 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.25, allocations: 1.119 MB / 486.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2502, allocations: 67.42 kB / 486.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2502, allocations: 0 / 486.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01622/0.2664, allocations: 13.91 MB / 0.4883 GB, free: 12.38 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o] Error 1