Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 92.27 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.0009599/0.0009603, allocations: 178.6 kB / 17.84 MB, free: 5.617 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.328/1.328, allocations: 223.2 MB / 241.8 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.177/0.177, allocations: 38.09 MB / 331 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 8 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1055, allocations: 59.17 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.008843/0.1144, allocations: 9.579 MB / 469.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006502/0.1209, allocations: 3.686 MB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.122, allocations: 59.56 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008564/0.1229, allocations: 333.7 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.1253, allocations: 1.12 MB / 474.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1272, allocations: 0.6356 MB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003504/0.1307, allocations: 3.092 MB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.1327, allocations: 1.12 MB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1346, allocations: 0.8246 MB / 480.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.1368, allocations: 1.359 MB / 481.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.137, allocations: 64 kB / 481.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.138, allocations: 431.3 kB / 482.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007839/0.1388, allocations: 0.8807 MB / 483 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.1392, allocations: 336.8 kB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1408, allocations: 1.734 MB / 485.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1408, allocations: 0 / 485.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1408, allocations: 4 kB / 485.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.1409, allocations: 0 / 485.1 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0028/0.1437, allocations: 1.703 MB / 486.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1437, allocations: 8.031 kB / 486.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.1453, allocations: 353.4 kB / 487.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.1469, allocations: 0.9923 MB / 488.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-05/0.147, allocations: 110.7 kB / 488.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.1473, allocations: 167.9 kB / 488.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.1503, allocations: 2.316 MB / 490.7 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.1504, allocations: 11.84 kB / 490.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.1505, allocations: 63.97 kB / 490.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004481/0.151, allocations: 222.8 kB / 491 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.1537, allocations: 1.838 MB / 492.9 MB, free: 6.008 MB / 366.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.01066/0.1644, allocations: 9.575 MB / 0.4907 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.1665, allocations: 1.537 MB / 0.4922 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.1673, allocations: 0.599 MB / 0.4928 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/0.1674, allocations: 24.91 kB / 0.4928 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.1685, allocations: 0.8528 MB / 0.4936 GB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.785e-06/0.1686, allocations: 0 / 0.4936 GB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005863/0.1744, allocations: 3.984 MB / 0.4975 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.1746, allocations: 294.2 kB / 0.4978 GB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1757, allocations: 0.9106 MB / 0.4987 GB, free: 3.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.1758, allocations: 49.95 kB / 0.4987 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/0.1764, allocations: 0.7667 MB / 0.4995 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.1767, allocations: 457.6 kB / 0.4999 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.1768, allocations: 35.98 kB / 0.4999 GB, free: 2.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.1771, allocations: 434.7 kB / 0.5004 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/0.1779, allocations: 0.5699 MB / 0.5009 GB, free: 1.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2347/0.4126, allocations: 1.163 MB / 0.502 GB, free: 54.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.4145, allocations: 0.8409 MB / 0.5029 GB, free: 54.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.4145, allocations: 6.531 kB / 0.5029 GB, free: 54.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004643/0.4192, allocations: 2.472 MB / 0.5053 GB, free: 54.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/0.4193, allocations: 72.44 kB / 0.5054 GB, free: 54.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002721/0.422, allocations: 1.555 MB / 0.5069 GB, free: 53.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001545/0.4236, allocations: 0.551 MB / 0.5074 GB, free: 53.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4247, allocations: 325.3 kB / 0.5077 GB, free: 53.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009366/0.4341, allocations: 8.679 MB / 0.5162 GB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.4354, allocations: 84.77 kB / 0.5163 GB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4356, allocations: 97.42 kB / 0.5164 GB, free: 47.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(2,100.0%) 11,(2,100.0%) 12,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.4366, allocations: 0.594 MB / 0.517 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.4368, allocations: 126.7 kB / 0.5171 GB, free: 46.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.4394, allocations: 1.536 MB / 0.5186 GB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4395, allocations: 11.53 kB / 0.5186 GB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4395, allocations: 2.25 kB / 0.5186 GB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.4395, allocations: 6.141 kB / 0.5186 GB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.4443, allocations: 3.076 MB / 0.5216 GB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4444, allocations: 2.062 kB / 0.5216 GB, free: 44.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.4456, allocations: 297.3 kB / 0.5219 GB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.4457, allocations: 12.06 kB / 0.5219 GB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/0.4458, allocations: 44.69 kB / 0.5219 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.4458, allocations: 7.75 kB / 0.5219 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4458, allocations: 0 / 0.5219 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.4489, allocations: 2.307 MB / 0.5242 GB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.4495, allocations: 289 kB / 0.5245 GB, free: 43.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.4496, allocations: 40.22 kB / 0.5245 GB, free: 43.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.4501, allocations: 45.28 kB / 0.5246 GB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.4503, allocations: 83.22 kB / 0.5246 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.4504, allocations: 73.41 kB / 0.5247 GB, free: 43.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.4511, allocations: 0.5987 MB / 0.5253 GB, free: 43.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4511, allocations: 0 / 0.5253 GB, free: 43.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001544/0.4527, allocations: 426.4 kB / 0.5257 GB, free: 43.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * 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.0002117/0.4529, allocations: 147.5 kB / 0.5258 GB, free: 43.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.4556, allocations: 2.3 MB / 0.5281 GB, free: 41.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4557, allocations: 0 / 0.5281 GB, free: 41.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.4566, allocations: 0.88 MB / 0.5289 GB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.4575, allocations: 208.6 kB / 0.5291 GB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.462, allocations: 4.179 MB / 0.5332 GB, free: 37.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.4628, allocations: 1.457 MB / 0.5346 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.4631, allocations: 103.4 kB / 0.5347 GB, free: 36.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4631, allocations: 0 / 0.5347 GB, free: 36.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0285/0.4916, allocations: 27.95 MB / 0.562 GB, free: 8.113 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.Transformation.TapChangerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.TapChangerCalcHelperMain.o] Error 1