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.0009879/0.0009879, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009473/0.0009473, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1644/0.1644, allocations: 38.04 MB / 329.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 62.39 kB / 398.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1329, allocations: 58.06 MB / 456.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01166/0.1446, allocations: 10.71 MB / 467.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.1513, allocations: 3.938 MB / 471.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.1523, allocations: 67.56 kB / 471.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.1546, allocations: 0.9897 MB / 472.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1568, allocations: 1.059 MB / 473.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1582, allocations: 0.6239 MB / 474.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.1618, allocations: 4.13 MB / 478.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1629, allocations: 0.7991 MB / 479.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1642, allocations: 0.8206 MB / 479.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.166, allocations: 1.445 MB / 481.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.1662, allocations: 80 kB / 481.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.1673, allocations: 0.5694 MB / 482 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.1681, allocations: 0.8923 MB / 482.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007832/0.1689, allocations: 0.8433 MB / 483.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1704, allocations: 1.766 MB / 485.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1704, allocations: 0 / 485.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1704, allocations: 0 / 485.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1704, allocations: 0 / 485.5 MB, free: 11.66 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.003148/0.1736, allocations: 2.007 MB / 487.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1737, allocations: 20.02 kB / 487.5 MB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.1754, allocations: 354.3 kB / 487.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.1769, allocations: 1.02 MB / 488.9 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.177, allocations: 103.1 kB / 489 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.1774, allocations: 164.1 kB / 489.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.1804, allocations: 2.324 MB / 491.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.1804, allocations: 23.78 kB / 491.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.1806, allocations: 59.97 kB / 491.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005301/0.1811, allocations: 222.8 kB / 491.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.1837, allocations: 1.842 MB / 493.6 MB, free: 3.266 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.01021/0.1939, allocations: 9.575 MB / 0.4914 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.1961, allocations: 1.547 MB / 0.4929 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.1969, allocations: 0.6106 MB / 0.4935 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-05/0.197, allocations: 16.98 kB / 0.4935 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.1981, allocations: 0.8605 MB / 0.4944 GB, free: 6.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 2.875e-06/0.1981, allocations: 0 / 0.4944 GB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.005792/0.2039, allocations: 4.011 MB / 0.4983 GB, free: 1.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.2041, allocations: 282.6 kB / 0.4986 GB, free: 1.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.2051, allocations: 0.9146 MB / 0.4995 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.2052, allocations: 53.7 kB / 0.4995 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2526/0.4578, allocations: 0.76 MB / 0.5003 GB, free: 56.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006758/0.4586, allocations: 453.9 kB / 0.5007 GB, free: 55.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000501/0.4591, allocations: 326.8 kB / 0.501 GB, free: 55.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4592, allocations: 357.2 kB / 0.5013 GB, free: 55.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4603, allocations: 0.5802 MB / 0.5019 GB, free: 55.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.4615, allocations: 1.174 MB / 0.5031 GB, free: 54.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.4638, allocations: 2 MB / 0.505 GB, free: 53.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4638, allocations: 5.594 kB / 0.505 GB, free: 53.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004495/0.4683, allocations: 2.498 MB / 0.5075 GB, free: 52.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.4684, allocations: 68.75 kB / 0.5075 GB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002852/0.4712, allocations: 1.571 MB / 0.5091 GB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.4729, allocations: 0.5393 MB / 0.5096 GB, free: 51.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.474, allocations: 330.6 kB / 0.5099 GB, free: 51.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/0.4829, allocations: 8.707 MB / 0.5184 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4841, allocations: 75.39 kB / 0.5185 GB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.4843, allocations: 104.5 kB / 0.5186 GB, free: 45.22 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,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009807/0.4853, allocations: 0.5973 MB / 0.5192 GB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.4854, allocations: 123.7 kB / 0.5193 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.488, allocations: 1.541 MB / 0.5208 GB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.488, allocations: 11 kB / 0.5208 GB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.488, allocations: 0.9375 kB / 0.5208 GB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.488, allocations: 7.438 kB / 0.5208 GB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.4927, allocations: 3.074 MB / 0.5238 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4928, allocations: 0 / 0.5238 GB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.494, allocations: 300.7 kB / 0.5241 GB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.494, allocations: 7.844 kB / 0.5241 GB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.4941, allocations: 31.61 kB / 0.5241 GB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.4941, allocations: 7.906 kB / 0.5241 GB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4941, allocations: 3.938 kB / 0.5241 GB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.497, allocations: 2.326 MB / 0.5264 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.4974, allocations: 300.3 kB / 0.5267 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.4976, allocations: 27.75 kB / 0.5267 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.4982, allocations: 47.25 kB / 0.5268 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.4984, allocations: 76.97 kB / 0.5268 GB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.4985, allocations: 76.06 kB / 0.5269 GB, free: 41.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006477/0.4991, allocations: 0.6022 MB / 0.5275 GB, free: 41.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.81e-07/0.4991, allocations: 4 kB / 0.5275 GB, free: 41.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001431/0.5006, allocations: 430.3 kB / 0.5279 GB, free: 41.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 (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.0001687/0.5008, allocations: 142.7 kB / 0.528 GB, free: 41.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.5036, allocations: 2.319 MB / 0.5303 GB, free: 39.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5036, allocations: 0 / 0.5303 GB, free: 39.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.5044, allocations: 0.8754 MB / 0.5312 GB, free: 39.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.5053, allocations: 205.6 kB / 0.5314 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.5098, allocations: 4.211 MB / 0.5355 GB, free: 34.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/0.5106, allocations: 1.465 MB / 0.5369 GB, free: 33.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.5109, allocations: 107.4 kB / 0.537 GB, free: 33.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5109, allocations: 0 / 0.537 GB, free: 33.11 MB / 382.1 MB Notification: Performance of Templates: time 0.02812/0.539, allocations: 28.05 MB / 0.5644 GB, free: 5.082 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++ -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.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