Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001049/0.00105, allocations: 92.23 kB / 16.95 MB, free: 5.578 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.001494/0.001494, allocations: 190.7 kB / 17.85 MB, free: 5.258 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.565/1.565, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 310.3 MB, free: 6.02 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.0005148/0.0005149, allocations: 19.11 kB / 377.1 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3293, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.007618/0.337, allocations: 9.59 MB / 443.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.3429, allocations: 3.718 MB / 446.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3441, allocations: 63.56 kB / 446.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.3449, allocations: 333.7 kB / 447.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.3472, allocations: 1.109 MB / 448.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.3489, allocations: 0.6394 MB / 448.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.3515, allocations: 3.096 MB / 452 MB, free: 224 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3535, allocations: 1.121 MB / 453.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.3552, allocations: 0.8285 MB / 454 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.3572, allocations: 1.359 MB / 455.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.3573, allocations: 64 kB / 455.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3583, allocations: 439.3 kB / 455.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007751/0.3591, allocations: 0.8729 MB / 456.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.3595, allocations: 336.8 kB / 457 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.361, allocations: 1.746 MB / 458.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3611, allocations: 0 / 458.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3611, allocations: 0 / 458.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.3611, allocations: 0 / 458.8 MB, free: 9.398 MB / 334.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.002913/0.364, allocations: 1.699 MB / 460.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3641, allocations: 8.031 kB / 460.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.3658, allocations: 357.4 kB / 460.8 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.3675, allocations: 1 MB / 461.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.3676, allocations: 102.7 kB / 461.9 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.3679, allocations: 159.9 kB / 462.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.3711, allocations: 2.324 MB / 464.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.3712, allocations: 15.88 kB / 464.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.3714, allocations: 67.92 kB / 464.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004754/0.3718, allocations: 222.8 kB / 464.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/0.3746, allocations: 1.83 MB / 466.5 MB, free: 1.352 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.01107/0.3857, allocations: 9.564 MB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.3879, allocations: 1.537 MB / 477.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.3888, allocations: 0.6134 MB / 478.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/0.3889, allocations: 20.98 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.39, allocations: 0.8528 MB / 479.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.785e-06/0.39, allocations: 0 / 479.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.00585/0.3959, allocations: 3.992 MB / 483.1 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.3961, allocations: 286.3 kB / 483.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3972, allocations: 0.9146 MB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.3973, allocations: 45.7 kB / 484.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/0.3979, allocations: 0.7667 MB / 485.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.3982, allocations: 453.6 kB / 485.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.3983, allocations: 36 kB / 485.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.3985, allocations: 430.7 kB / 486 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/0.3994, allocations: 0.5778 MB / 486.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.4006, allocations: 1.163 MB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.4018, allocations: 0.8411 MB / 488.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4018, allocations: 4 kB / 488.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00407/0.4059, allocations: 2.485 MB / 491.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.406, allocations: 75.39 kB / 491.2 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00258/0.4086, allocations: 1.554 MB / 492.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.4101, allocations: 0.5406 MB / 493.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4111, allocations: 331.4 kB / 493.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/0.4207, allocations: 8.689 MB / 0.4905 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4221, allocations: 75.97 kB / 0.4906 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.4223, allocations: 100 kB / 0.4907 GB, free: 11.75 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.001258/0.4235, allocations: 0.5959 MB / 0.4912 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.4238, allocations: 126.5 kB / 0.4914 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.4261, allocations: 1.535 MB / 0.4929 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4262, allocations: 12 kB / 0.4929 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4262, allocations: 4 kB / 0.4929 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4262, allocations: 7.969 kB / 0.4929 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/0.4306, allocations: 3.068 MB / 0.4959 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4307, allocations: 4 kB / 0.4959 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4319, allocations: 299.8 kB / 0.4962 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.4319, allocations: 4 kB / 0.4962 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.432, allocations: 35.98 kB / 0.4962 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.432, allocations: 7.984 kB / 0.4962 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.432, allocations: 11.94 kB / 0.4962 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.435, allocations: 2.308 MB / 0.4985 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.4354, allocations: 303.4 kB / 0.4988 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4356, allocations: 28 kB / 0.4988 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.4361, allocations: 47.97 kB / 0.4988 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4362, allocations: 80.78 kB / 0.4989 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.4364, allocations: 79.92 kB / 0.499 GB, free: 3.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007479/0.4371, allocations: 0.5947 MB / 0.4996 GB, free: 2.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4371, allocations: 0 / 0.4996 GB, free: 2.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001482/0.4386, allocations: 428 kB / 0.5 GB, free: 1.984 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.000224/0.4389, allocations: 135.1 kB / 0.5001 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.442, allocations: 2.305 MB / 0.5024 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4421, allocations: 0 / 0.5024 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.4431, allocations: 0.8716 MB / 0.5032 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/0.4441, allocations: 216.3 kB / 0.5034 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.4497, allocations: 4.175 MB / 0.5075 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.4509, allocations: 1.461 MB / 0.5089 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.4512, allocations: 99.42 kB / 0.509 GB, free: 8.539 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4512, allocations: 7.938 kB / 0.509 GB, free: 8.531 MB / 398.1 MB Notification: Performance of Templates: time 0.2761/0.7273, allocations: 27.95 MB / 0.5363 GB, free: 75.49 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Transformation.TapChangerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChangerCalcHelperMain.o] Error 1