Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 93.47 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.001128/0.001128, allocations: 174.9 kB / 18.21 MB, free: 5.684 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.769/1.769, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1771/0.1771, allocations: 38.05 MB / 310.7 MB, free: 5.91 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.0005895/0.0005896, allocations: 19.28 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3389, allocations: 56.32 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007243/0.3462, allocations: 8.489 MB / 442.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.3503, allocations: 2.253 MB / 444.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.3511, allocations: 59.56 kB / 444.9 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.3517, allocations: 206.8 kB / 445.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.3529, allocations: 0.5291 MB / 445.7 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3533, allocations: 199.7 kB / 445.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3546, allocations: 1.94 MB / 447.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.3549, allocations: 290.5 kB / 448.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.3555, allocations: 461.6 kB / 448.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007385/0.3562, allocations: 0.654 MB / 449.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.3563, allocations: 36 kB / 449.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.3564, allocations: 32 kB / 449.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.3566, allocations: 303.1 kB / 449.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.357, allocations: 415.5 kB / 450 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.3575, allocations: 0.6701 MB / 450.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3575, allocations: 4 kB / 450.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3575, allocations: 0 / 450.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3575, allocations: 0 / 450.6 MB, free: 2.113 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001532/0.3591, allocations: 1.077 MB / 451.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3591, allocations: 8.031 kB / 451.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3593, allocations: 95.72 kB / 451.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/0.3602, allocations: 0.6643 MB / 452.5 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.3602, allocations: 53.23 kB / 452.5 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.3603, allocations: 63.91 kB / 452.6 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3616, allocations: 0.8098 MB / 453.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3617, allocations: 4 kB / 453.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.3617, allocations: 28 kB / 453.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/0.3618, allocations: 29.3 kB / 453.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009234/0.3627, allocations: 0.6179 MB / 454.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.3661, allocations: 2.645 MB / 456.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.367, allocations: 0.6089 MB / 457.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.3676, allocations: 381.6 kB / 457.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3676, allocations: 8.438 kB / 457.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005858/0.3682, allocations: 491 kB / 458.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.075e-06/0.3682, allocations: 3.938 kB / 458.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002861/0.3711, allocations: 1.973 MB / 460.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.3713, allocations: 255.8 kB / 460.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.372, allocations: 0.5702 MB / 461 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.372, allocations: 41.69 kB / 461 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.3724, allocations: 395.5 kB / 461.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3725, allocations: 209 kB / 461.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.3726, allocations: 73.67 kB / 461.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3728, allocations: 382.8 kB / 462.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.3732, allocations: 229.9 kB / 462.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3737, allocations: 453.8 kB / 462.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/0.3746, allocations: 0.7974 MB / 463.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3746, allocations: 0 / 463.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001439/0.3761, allocations: 0.9599 MB / 464.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.3761, allocations: 63.39 kB / 464.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3762, allocations: 11.94 kB / 464.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.3765, allocations: 109.5 kB / 464.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.377, allocations: 143.8 kB / 464.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.3797, allocations: 3.004 MB / 467.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.3801, allocations: 48.03 kB / 467.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/0.3802, allocations: 51.97 kB / 467.9 MB, free: 15.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.3806, allocations: 350.6 kB / 468.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.3807, allocations: 71.16 kB / 468.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.3818, allocations: 0.7935 MB / 469.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3819, allocations: 4 kB / 469.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3819, allocations: 0 / 469.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3819, allocations: 3.984 kB / 469.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.3839, allocations: 1.542 MB / 470.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3839, allocations: 4 kB / 470.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.3844, allocations: 111.9 kB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3844, allocations: 7.969 kB / 470.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.3844, allocations: 19.98 kB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3844, allocations: 4 kB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3844, allocations: 3.938 kB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.386, allocations: 1.211 MB / 472 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3862, allocations: 184.2 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.3863, allocations: 20 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.3866, allocations: 31.98 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3867, allocations: 44.31 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/0.3868, allocations: 68.03 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004243/0.3872, allocations: 383.1 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3872, allocations: 4 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006518/0.3879, allocations: 184 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * 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 (55): * Single equations (assignments): 52 * 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.0001725/0.3881, allocations: 131 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.3896, allocations: 1.007 MB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3896, allocations: 4 kB / 474.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.3901, allocations: 494.5 kB / 474.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.391, allocations: 155.4 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.3936, allocations: 1.96 MB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.3943, allocations: 1.013 MB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3944, allocations: 55.44 kB / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of SimCode: time 2.255e-06/0.3944, allocations: 0 / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Templates: time 0.01744/0.4119, allocations: 11.97 MB / 489.7 MB, free: 9.668 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Transformation.TapChangerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.o] Error 1