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.0008414/0.0008417, allocations: 95.61 kB / 16.95 MB, free: 5.613 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.0008918/0.0008921, allocations: 188 kB / 17.85 MB, free: 5.281 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.603/1.603, allocations: 205.4 MB / 224 MB, free: 12.82 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1719/0.1719, allocations: 38.04 MB / 310.3 MB, free: 6 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.000507/0.0005071, allocations: 12 kB / 377.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2586, allocations: 56.33 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006237/0.2649, allocations: 7.993 MB / 441.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.2684, allocations: 2.172 MB / 443.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.2691, allocations: 55.62 kB / 443.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.2696, allocations: 206.5 kB / 443.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.271, allocations: 0.6375 MB / 444.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.2716, allocations: 267.7 kB / 444.8 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.2728, allocations: 1.523 MB / 446.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.2732, allocations: 246.1 kB / 446.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005427/0.2738, allocations: 477.7 kB / 447 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.2746, allocations: 0.6424 MB / 447.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.2746, allocations: 32 kB / 447.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2748, allocations: 32 kB / 447.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.275, allocations: 307.2 kB / 448 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2752, allocations: 177.2 kB / 448.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.2756, allocations: 0.67 MB / 448.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2757, allocations: 4 kB / 448.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2757, allocations: 0 / 448.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2757, allocations: 0 / 448.9 MB, free: 3.383 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.001454/0.2771, allocations: 1.081 MB / 450 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2772, allocations: 16.02 kB / 450 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2773, allocations: 98.78 kB / 450.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.2783, allocations: 0.64 MB / 450.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.2783, allocations: 49.31 kB / 450.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.2784, allocations: 56 kB / 450.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.2794, allocations: 0.8099 MB / 451.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2794, allocations: 3.938 kB / 451.6 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.2795, allocations: 31.95 kB / 451.7 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/0.2795, allocations: 33.3 kB / 451.7 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008684/0.2804, allocations: 0.6102 MB / 452.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.2839, allocations: 2.641 MB / 454.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.285, allocations: 0.6055 MB / 455.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.2856, allocations: 379.1 kB / 455.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.2856, allocations: 4.438 kB / 455.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000669/0.2863, allocations: 479.1 kB / 456.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.575e-06/0.2863, allocations: 3.938 kB / 456.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.003032/0.2893, allocations: 1.981 MB / 458.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.2895, allocations: 247.9 kB / 458.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.2901, allocations: 0.5586 MB / 459.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.2902, allocations: 37.7 kB / 459.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.2904, allocations: 399.4 kB / 459.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2906, allocations: 213 kB / 459.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.2907, allocations: 24.12 kB / 459.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2909, allocations: 378.8 kB / 460.2 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.2912, allocations: 221.9 kB / 460.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.2917, allocations: 453.8 kB / 460.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.2922, allocations: 341.4 kB / 461.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.2922, allocations: 4 kB / 461.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001483/0.2937, allocations: 0.9322 MB / 462.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.2937, allocations: 71.95 kB / 462.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2938, allocations: 8 kB / 462.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.2942, allocations: 109.6 kB / 462.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.2947, allocations: 147.7 kB / 462.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.2978, allocations: 2.996 MB / 465.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.2983, allocations: 47.98 kB / 465.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/0.2984, allocations: 55.89 kB / 465.6 MB, free: 1.762 MB / 334.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,$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 (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.2988, allocations: 350.7 kB / 465.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2989, allocations: 75.11 kB / 466 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.3001, allocations: 0.7896 MB / 466.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3001, allocations: 4 kB / 466.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3001, allocations: 7.969 kB / 466.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3001, allocations: 4 kB / 466.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3021, allocations: 1.539 MB / 468.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3021, allocations: 0 / 468.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.3026, allocations: 111.9 kB / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3026, allocations: 4 kB / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.3027, allocations: 19.98 kB / 468.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/0.3027, allocations: 4 kB / 468.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3027, allocations: 0 / 468.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3041, allocations: 1.218 MB / 469.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.3044, allocations: 184.2 kB / 469.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.3045, allocations: 19.98 kB / 469.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3048, allocations: 27.98 kB / 469.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3049, allocations: 44.44 kB / 469.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/0.305, allocations: 59.88 kB / 470 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004381/0.3054, allocations: 387 kB / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3054, allocations: 0 / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006269/0.3061, allocations: 180 kB / 470.6 MB, free: 12.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 (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.0001674/0.3062, allocations: 127.2 kB / 470.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3076, allocations: 1.008 MB / 471.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3076, allocations: 0 / 471.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.3082, allocations: 493.2 kB / 472.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.309, allocations: 159.2 kB / 472.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.3115, allocations: 1.898 MB / 474.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.3122, allocations: 1.02 MB / 475.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3123, allocations: 55.42 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3124, allocations: 0 / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Templates: time 0.01651/0.3289, allocations: 12 MB / 487.3 MB, free: 11.7 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++ 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.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