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.001121/0.001121, allocations: 88.45 kB / 17.31 MB, free: 5.59 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.001416/0.001417, allocations: 182.1 kB / 18.21 MB, free: 5.191 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.76/1.76, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1949/0.1949, allocations: 38.05 MB / 310.7 MB, free: 5.902 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.0005319/0.000532, allocations: 20.42 kB / 377.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2867, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00872/0.2955, allocations: 10.2 MB / 444.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007111/0.3027, allocations: 3.931 MB / 448.3 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.3038, allocations: 63.56 kB / 448.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008716/0.3047, allocations: 361.9 kB / 448.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.3068, allocations: 1.055 MB / 449.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3083, allocations: 0.62 MB / 450.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.3123, allocations: 4.134 MB / 454.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.3146, allocations: 1.221 MB / 455.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.3171, allocations: 0.7932 MB / 456.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.3198, allocations: 1.39 MB / 457.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.32, allocations: 64 kB / 458 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.3214, allocations: 0.5576 MB / 458.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.3224, allocations: 0.865 MB / 459.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.3235, allocations: 0.8332 MB / 460.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.3258, allocations: 1.734 MB / 462 MB, free: 6.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3258, allocations: 0 / 462 MB, free: 6.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3258, allocations: 0 / 462 MB, free: 6.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.445e-05/0.3259, allocations: 4 kB / 462 MB, free: 6.699 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.003499/0.3294, allocations: 1.684 MB / 463.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3294, allocations: 8.031 kB / 463.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.3315, allocations: 354.4 kB / 464 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.3335, allocations: 1.028 MB / 465 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3336, allocations: 107.1 kB / 465.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.3341, allocations: 164 kB / 465.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/0.338, allocations: 2.339 MB / 467.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/0.3381, allocations: 11.94 kB / 467.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.3382, allocations: 59.97 kB / 467.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005344/0.3387, allocations: 226.8 kB / 467.9 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.3417, allocations: 1.842 MB / 469.8 MB, free: 14.61 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.01225/0.354, allocations: 9.575 MB / 479.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/0.3564, allocations: 1.539 MB / 480.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/0.3572, allocations: 0.6097 MB / 481.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.3573, allocations: 28.97 kB / 481.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.3586, allocations: 0.8488 MB / 482.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=130): time 5.19e-06/0.3586, allocations: 4 kB / 482.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.006399/0.365, allocations: 4.011 MB / 486.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/0.3652, allocations: 286.3 kB / 486.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3664, allocations: 0.9068 MB / 487.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.3665, allocations: 57.64 kB / 487.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007047/0.3673, allocations: 0.763 MB / 488.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/0.3677, allocations: 457.7 kB / 488.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3679, allocations: 145.6 kB / 489 MB, free: 10.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3681, allocations: 365.8 kB / 489.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009287/0.369, allocations: 0.5816 MB / 489.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3705, allocations: 1.174 MB / 491.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.3731, allocations: 1.997 MB / 493.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.3732, allocations: 8 kB / 493.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004506/0.3777, allocations: 2.495 MB / 495.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.3778, allocations: 71.39 kB / 495.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002822/0.3806, allocations: 1.569 MB / 497.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.3822, allocations: 0.5478 MB / 497.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.3832, allocations: 327.5 kB / 498.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.3935, allocations: 8.711 MB / 0.4949 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3946, allocations: 83.81 kB / 0.495 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3948, allocations: 104 kB / 0.4951 GB, free: 7.418 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.001082/0.3959, allocations: 0.5959 MB / 0.4957 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.3961, allocations: 122.5 kB / 0.4958 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.3986, allocations: 1.539 MB / 0.4973 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3986, allocations: 12 kB / 0.4973 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3986, allocations: 3.938 kB / 0.4973 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.3986, allocations: 11.97 kB / 0.4973 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.4035, allocations: 3.076 MB / 0.5003 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4035, allocations: 4 kB / 0.5003 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.4048, allocations: 299.8 kB / 0.5006 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.4048, allocations: 4 kB / 0.5006 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.4049, allocations: 35.98 kB / 0.5007 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.4049, allocations: 4 kB / 0.5007 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4049, allocations: 4 kB / 0.5007 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.4083, allocations: 2.328 MB / 0.503 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.4088, allocations: 287.5 kB / 0.5032 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.409, allocations: 35.97 kB / 0.5033 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.4095, allocations: 47.97 kB / 0.5033 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.4097, allocations: 84.77 kB / 0.5034 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.4099, allocations: 83.91 kB / 0.5035 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009621/0.4109, allocations: 0.5986 MB / 0.5041 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4109, allocations: 0 / 0.5041 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00185/0.4127, allocations: 424 kB / 0.5045 GB, free: 13.63 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.0002493/0.413, allocations: 135.1 kB / 0.5046 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003965/0.417, allocations: 2.32 MB / 0.5069 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.417, allocations: 0 / 0.5069 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.4183, allocations: 0.8716 MB / 0.5077 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.4196, allocations: 220.2 kB / 0.5079 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.4262, allocations: 4.324 MB / 0.5121 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.4275, allocations: 1.461 MB / 0.5136 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.4278, allocations: 103.4 kB / 0.5137 GB, free: 4.012 MB / 398.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4279, allocations: 0 / 0.5137 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Templates: time 0.3036/0.7314, allocations: 27.9 MB / 0.5409 GB, free: 70.54 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++ -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