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.0009806/0.0009809, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001227/0.001227, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.459/1.459, allocations: 223.2 MB / 242.2 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1892/0.1892, allocations: 38.09 MB / 331.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003494, allocations: 8.188 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 59.17 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01084/0.1256, allocations: 10.21 MB / 470.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.133, allocations: 3.887 MB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.1345, allocations: 63.56 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1356, allocations: 354 kB / 475 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1384, allocations: 1.063 MB / 476.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.1402, allocations: 0.62 MB / 476.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00481/0.145, allocations: 4.13 MB / 480.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.1474, allocations: 1.228 MB / 482.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.1493, allocations: 0.7893 MB / 482.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.1515, allocations: 1.39 MB / 484.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.1517, allocations: 64 kB / 484.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.153, allocations: 0.5575 MB / 484.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009092/0.154, allocations: 0.865 MB / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.1549, allocations: 0.837 MB / 486.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.1569, allocations: 1.738 MB / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1569, allocations: 0 / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1569, allocations: 0 / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.1569, allocations: 0 / 488.3 MB, free: 11.14 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.003391/0.1603, allocations: 1.688 MB / 490 MB, free: 9.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1604, allocations: 8.031 kB / 490 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.1623, allocations: 354.3 kB / 490.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.1641, allocations: 1.02 MB / 491.4 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.1642, allocations: 107 kB / 491.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.1646, allocations: 175.9 kB / 491.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.1681, allocations: 2.328 MB / 494 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.1681, allocations: 7.938 kB / 494 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.1683, allocations: 59.97 kB / 494 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005057/0.1688, allocations: 226.8 kB / 494.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.1716, allocations: 1.842 MB / 496.1 MB, free: 3.062 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.01111/0.1827, allocations: 9.567 MB / 0.4938 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.185, allocations: 1.552 MB / 0.4953 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.1858, allocations: 0.6145 MB / 0.4959 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.1859, allocations: 20.98 kB / 0.496 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.187, allocations: 0.845 MB / 0.4968 GB, free: 5.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 5.961e-06/0.187, allocations: 3.984 kB / 0.4968 GB, free: 5.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.006063/0.1931, allocations: 4.019 MB / 0.5007 GB, free: 1.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.1933, allocations: 286.3 kB / 0.501 GB, free: 1.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1944, allocations: 0.9146 MB / 0.5019 GB, free: 460 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.1945, allocations: 49.7 kB / 0.5019 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3093/0.5039, allocations: 0.7563 MB / 0.5027 GB, free: 56.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000947/0.5049, allocations: 457.4 kB / 0.5031 GB, free: 56.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.5052, allocations: 153.4 kB / 0.5032 GB, free: 56.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.5055, allocations: 357.5 kB / 0.5036 GB, free: 56.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.5069, allocations: 0.5789 MB / 0.5042 GB, free: 56.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.5089, allocations: 1.172 MB / 0.5053 GB, free: 55.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.5121, allocations: 2.003 MB / 0.5073 GB, free: 54.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.5122, allocations: 4.438 kB / 0.5073 GB, free: 54.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005131/0.5173, allocations: 2.501 MB / 0.5097 GB, free: 53.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.5174, allocations: 67.58 kB / 0.5098 GB, free: 53.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003082/0.5205, allocations: 1.569 MB / 0.5113 GB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.5222, allocations: 0.5399 MB / 0.5118 GB, free: 52.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5236, allocations: 325.5 kB / 0.5121 GB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.5342, allocations: 8.709 MB / 0.5206 GB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.5357, allocations: 81.98 kB / 0.5207 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.5359, allocations: 101.5 kB / 0.5208 GB, free: 45.77 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.001174/0.5371, allocations: 0.5944 MB / 0.5214 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.5374, allocations: 131.2 kB / 0.5215 GB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5402, allocations: 1.539 MB / 0.523 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.5402, allocations: 14.38 kB / 0.523 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.5402, allocations: 1.406 kB / 0.523 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5402, allocations: 4.891 kB / 0.523 GB, free: 44.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/0.5456, allocations: 3.081 MB / 0.5261 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5456, allocations: 3.625 kB / 0.5261 GB, free: 43.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.547, allocations: 301.9 kB / 0.5263 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.547, allocations: 3.906 kB / 0.5263 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.5471, allocations: 39.52 kB / 0.5264 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.5471, allocations: 3.906 kB / 0.5264 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5471, allocations: 5.5 kB / 0.5264 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.5498, allocations: 2.319 MB / 0.5287 GB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.5503, allocations: 302.2 kB / 0.5289 GB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.5505, allocations: 27.53 kB / 0.529 GB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.551, allocations: 46.19 kB / 0.529 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5512, allocations: 78.64 kB / 0.5291 GB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.5513, allocations: 81.95 kB / 0.5292 GB, free: 42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007758/0.5521, allocations: 0.603 MB / 0.5298 GB, free: 41.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5521, allocations: 0 / 0.5298 GB, free: 41.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001617/0.5537, allocations: 424.5 kB / 0.5302 GB, free: 41.61 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.0002015/0.5539, allocations: 154.3 kB / 0.5303 GB, free: 41.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.5573, allocations: 2.316 MB / 0.5326 GB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5573, allocations: 0 / 0.5326 GB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008539/0.5582, allocations: 0.8766 MB / 0.5334 GB, free: 38.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5594, allocations: 215.3 kB / 0.5336 GB, free: 38.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.5643, allocations: 4.316 MB / 0.5378 GB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.5651, allocations: 1.457 MB / 0.5393 GB, free: 32.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.5655, allocations: 103.4 kB / 0.5394 GB, free: 32.35 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5655, allocations: 0 / 0.5394 GB, free: 32.35 MB / 382.1 MB Notification: Performance of Templates: time 0.03432/0.5998, allocations: 27.9 MB / 0.5666 GB, free: 4.445 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