Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007767/0.0007769, allocations: 91.56 kB / 16.95 MB, free: 5.676 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.0007986/0.0007985, allocations: 182 kB / 17.84 MB, free: 5.32 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.571/1.571, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1837/0.1837, allocations: 38.04 MB / 310.3 MB, free: 6.023 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.0005198/0.0005199, allocations: 12 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2897, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005598/0.2953, allocations: 6.734 MB / 440.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.2988, allocations: 2.643 MB / 442.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.2992, allocations: 43.69 kB / 442.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.2996, allocations: 194.6 kB / 443.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.3008, allocations: 0.6807 MB / 443.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.3015, allocations: 419.3 kB / 444.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.3027, allocations: 1.739 MB / 445.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.3036, allocations: 0.7101 MB / 446.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.3041, allocations: 497.9 kB / 447.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.305, allocations: 0.7868 MB / 447.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.3051, allocations: 40 kB / 447.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.3055, allocations: 183.7 kB / 448.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.3058, allocations: 0.491 MB / 448.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.306, allocations: 205.1 kB / 448.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.3066, allocations: 0.9781 MB / 449.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3066, allocations: 0 / 449.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3066, allocations: 0 / 449.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3067, allocations: 4 kB / 449.8 MB, free: 2.422 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001608/0.3083, allocations: 1.147 MB / 450.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3083, allocations: 8.031 kB / 450.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.3092, allocations: 206.4 kB / 451.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.31, allocations: 0.6541 MB / 451.8 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.31, allocations: 65.98 kB / 451.9 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3102, allocations: 91.97 kB / 452 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.3121, allocations: 1.376 MB / 453.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.3122, allocations: 7.938 kB / 453.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.3123, allocations: 39.98 kB / 453.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/0.3125, allocations: 117.9 kB / 453.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3141, allocations: 1.093 MB / 454.6 MB, free: 13.42 MB / 334.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.005954/0.3201, allocations: 5.965 MB / 460.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.3211, allocations: 0.7092 MB / 461.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/0.3215, allocations: 315.3 kB / 461.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.323e-05/0.3216, allocations: 16.53 kB / 461.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.3222, allocations: 476.6 kB / 462.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.214e-06/0.3222, allocations: 0 / 462.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003076/0.3253, allocations: 2.141 MB / 464.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.3254, allocations: 174.8 kB / 464.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.3261, allocations: 0.6327 MB / 465 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.3261, allocations: 33.7 kB / 465 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.3265, allocations: 0.5289 MB / 465.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.3267, allocations: 232.8 kB / 465.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3267, allocations: 23.94 kB / 465.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3269, allocations: 390.8 kB / 466.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3274, allocations: 334.4 kB / 466.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.3282, allocations: 0.7659 MB / 467.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.3288, allocations: 0.4995 MB / 467.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3289, allocations: 4 kB / 467.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002187/0.3311, allocations: 1.427 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.3311, allocations: 49.58 kB / 469.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001324/0.3324, allocations: 0.7862 MB / 470 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.3331, allocations: 253.5 kB / 470.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.3338, allocations: 211.6 kB / 470.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.3378, allocations: 4.031 MB / 474.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.3383, allocations: 59.97 kB / 474.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.3384, allocations: 63.97 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005077/0.3389, allocations: 387 kB / 475 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.339, allocations: 83.08 kB / 475.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.3405, allocations: 0.8515 MB / 476 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3405, allocations: 8.062 kB / 476 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3405, allocations: 4 kB / 476 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.3405, allocations: 3.984 kB / 476 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.343, allocations: 1.764 MB / 477.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.343, allocations: 0 / 477.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.3437, allocations: 151.8 kB / 477.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3437, allocations: 8.156 kB / 477.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.3438, allocations: 27.92 kB / 477.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3438, allocations: 4 kB / 477.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3438, allocations: 0 / 477.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3454, allocations: 1.297 MB / 479.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.3457, allocations: 204.1 kB / 479.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.3458, allocations: 16 kB / 479.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.3461, allocations: 31.97 kB / 479.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3462, allocations: 48.48 kB / 479.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.3463, allocations: 44.05 kB / 479.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004888/0.3468, allocations: 427 kB / 480 MB, free: 2.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3468, allocations: 0 / 480 MB, free: 2.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.3477, allocations: 236 kB / 480.2 MB, free: 2.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001864/0.3479, allocations: 118.8 kB / 480.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3497, allocations: 1.221 MB / 481.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3497, allocations: 0 / 481.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.3503, allocations: 464 kB / 482 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.351, allocations: 135.6 kB / 482.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3546, allocations: 2.453 MB / 484.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.3554, allocations: 1.115 MB / 485.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3556, allocations: 75.36 kB / 485.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3557, allocations: 4 kB / 485.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01902/0.3747, allocations: 13.86 MB / 499.6 MB, free: 15 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.AC3ph.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.TransformerCalcHelperMain.o] Error 1