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.0009205/0.0009206, allocations: 107.5 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.0008782/0.0008782, 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.181/1.181, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1532/0.1532, 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.00118/0.00118, allocations: 63.91 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1916, allocations: 55.23 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00737/0.199, allocations: 10.72 MB / 441.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.2046, allocations: 3.977 MB / 445.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/0.2053, allocations: 71.56 kB / 445.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.2072, allocations: 0.9961 MB / 446.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.2086, allocations: 1.051 MB / 447.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2096, allocations: 0.6278 MB / 447.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.2119, allocations: 4.13 MB / 452.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.2128, allocations: 0.7913 MB / 452.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008406/0.2137, allocations: 0.8362 MB / 453.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.2151, allocations: 1.437 MB / 455.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.2153, allocations: 80 kB / 455.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.2162, allocations: 0.5732 MB / 455.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000684/0.2169, allocations: 0.8845 MB / 456.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007002/0.2176, allocations: 0.8393 MB / 457.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.2189, allocations: 1.77 MB / 459.3 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.219, allocations: 8 kB / 459.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.219, allocations: 0 / 459.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.219, allocations: 0 / 459.3 MB, free: 6.898 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.002888/0.2219, allocations: 2.011 MB / 461.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2219, allocations: 12.03 kB / 461.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.2236, allocations: 350.4 kB / 461.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.2251, allocations: 1.024 MB / 462.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.2252, allocations: 103.1 kB / 462.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.2255, allocations: 171.9 kB / 462.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.2286, allocations: 2.332 MB / 465.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.2287, allocations: 7.938 kB / 465.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.2288, allocations: 59.97 kB / 465.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/0.2293, allocations: 222.8 kB / 465.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.2319, allocations: 1.85 MB / 467.4 MB, free: 14.49 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.009254/0.2412, allocations: 9.571 MB / 477 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.2432, allocations: 1.543 MB / 478.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.244, allocations: 0.6136 MB / 479.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-05/0.244, allocations: 16.98 kB / 479.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009898/0.245, allocations: 0.8529 MB / 480 MB, free: 1.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 2.345e-06/0.245, allocations: 0 / 480 MB, free: 1.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.005124/0.2502, allocations: 4.019 MB / 484 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.2503, allocations: 290.2 kB / 484.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.2512, allocations: 0.9147 MB / 485.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.2513, allocations: 53.95 kB / 485.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.2518, allocations: 0.7666 MB / 486 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2521, allocations: 457.7 kB / 486.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.2525, allocations: 323.2 kB / 486.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2527, allocations: 357.9 kB / 487.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.2535, allocations: 0.5739 MB / 487.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.2547, allocations: 1.174 MB / 488.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.2569, allocations: 2.004 MB / 490.9 MB, free: 5.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2569, allocations: 4 kB / 490.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003929/0.2609, allocations: 2.494 MB / 493.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.2609, allocations: 63.41 kB / 493.5 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002619/0.2636, allocations: 1.573 MB / 495 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.2651, allocations: 0.544 MB / 495.6 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.266, allocations: 331.4 kB / 495.9 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/0.2748, allocations: 8.707 MB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.2756, allocations: 71.97 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.2757, allocations: 96.02 kB / 0.493 GB, free: 7.145 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.0007336/0.2765, allocations: 0.6036 MB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.2766, allocations: 126.5 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.2787, allocations: 1.535 MB / 0.4952 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2787, allocations: 12 kB / 0.4952 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2788, allocations: 3.938 kB / 0.4952 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2788, allocations: 7.969 kB / 0.4952 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003879/0.2827, allocations: 3.072 MB / 0.4982 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2827, allocations: 8 kB / 0.4982 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.2839, allocations: 299.8 kB / 0.4985 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2839, allocations: 4 kB / 0.4985 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.284, allocations: 39.98 kB / 0.4985 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.284, allocations: 7.938 kB / 0.4985 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.284, allocations: 7.984 kB / 0.4985 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.2867, allocations: 2.32 MB / 0.5008 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.2871, allocations: 295.5 kB / 0.5011 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.2873, allocations: 28 kB / 0.5011 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.2878, allocations: 43.97 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.2879, allocations: 80.83 kB / 0.5012 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.288, allocations: 75.92 kB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006252/0.2887, allocations: 0.6102 MB / 0.5019 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2887, allocations: 0 / 0.5019 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001057/0.2897, allocations: 423.9 kB / 0.5023 GB, free: 13.36 MB / 398.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.0001703/0.2899, allocations: 147 kB / 0.5024 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.2927, allocations: 2.319 MB / 0.5047 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2927, allocations: 0 / 0.5047 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.2937, allocations: 0.8726 MB / 0.5056 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.2946, allocations: 212.2 kB / 0.5058 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.2996, allocations: 4.213 MB / 0.5099 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.3007, allocations: 1.465 MB / 0.5113 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.301, allocations: 107.4 kB / 0.5114 GB, free: 3.836 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.301, allocations: 0 / 0.5114 GB, free: 3.836 MB / 398.1 MB Notification: Performance of Templates: time 0.1725/0.4734, allocations: 28.02 MB / 0.5388 GB, free: 99.18 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile make -j1 -f PowerSystems_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_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