Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000911/0.0009109, allocations: 90.31 kB / 16.95 MB, free: 6.453 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.001094/0.001094, allocations: 179.5 kB / 17.84 MB, free: 6 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.587/1.587, allocations: 205.4 MB / 224 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.1709/0.1709, allocations: 38.04 MB / 310.3 MB, free: 6.02 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.0005057/0.0005057, allocations: 12 kB / 377.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005511/0.2852, allocations: 7.185 MB / 440.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005093/0.2903, allocations: 4.545 MB / 445.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007578/0.2911, allocations: 19.88 kB / 445.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.2916, allocations: 154.9 kB / 445.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.2943, allocations: 0.9378 MB / 446.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.2951, allocations: 275.3 kB / 446.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2965, allocations: 1.999 MB / 448.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2982, allocations: 1.147 MB / 449.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.2988, allocations: 0.5016 MB / 450.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.2995, allocations: 0.6853 MB / 450.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.2995, allocations: 36 kB / 451 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3013, allocations: 0.783 MB / 451.7 MB, free: 496 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.3017, allocations: 466.8 kB / 452.2 MB, free: 28 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3019, allocations: 177.4 kB / 452.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3032, allocations: 1.083 MB / 453.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3032, allocations: 0 / 453.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.3032, allocations: 0 / 453.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3032, allocations: 7.938 kB / 453.5 MB, free: 14.75 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001487/0.3047, allocations: 1.022 MB / 454.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3048, allocations: 12.03 kB / 454.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.3077, allocations: 414.4 kB / 454.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.3085, allocations: 486.1 kB / 455.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.3085, allocations: 57.92 kB / 455.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3086, allocations: 71.98 kB / 455.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.3105, allocations: 1.222 MB / 456.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.3105, allocations: 0 / 456.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.3106, allocations: 35.95 kB / 456.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.602e-05/0.3107, allocations: 77.95 kB / 456.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3127, allocations: 1.308 MB / 458.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.318, allocations: 3.716 MB / 461.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3197, allocations: 1.09 MB / 462.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009137/0.3207, allocations: 0.6376 MB / 463.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/0.3208, allocations: 17.14 kB / 463.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.3208, allocations: 47.5 kB / 463.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 3.005e-06/0.3208, allocations: 0 / 463.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006424/0.3273, allocations: 3.11 MB / 466.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.3274, allocations: 90.11 kB / 466.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.3278, allocations: 373.5 kB / 467.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.3278, allocations: 45.73 kB / 467.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3281, allocations: 324 kB / 467.6 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.3284, allocations: 315.5 kB / 467.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.3284, allocations: 16 kB / 467.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3286, allocations: 374.7 kB / 468.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/0.3293, allocations: 461.7 kB / 468.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007538/0.33, allocations: 0.5743 MB / 469.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.3308, allocations: 0.5418 MB / 469.8 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3308, allocations: 0 / 469.8 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002333/0.3332, allocations: 1.469 MB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3332, allocations: 4 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3332, allocations: 4 kB / 471.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/0.3341, allocations: 340.7 kB / 471.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.3348, allocations: 183.7 kB / 471.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005027/0.3398, allocations: 3.876 MB / 475.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.3403, allocations: 52.02 kB / 475.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.3404, allocations: 35.98 kB / 475.8 MB, free: 7.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.3409, allocations: 305.5 kB / 476.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.341, allocations: 59.3 kB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.3436, allocations: 1.544 MB / 477.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.3437, allocations: 12 kB / 477.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3437, allocations: 4 kB / 477.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3437, allocations: 3.984 kB / 477.7 MB, free: 5.934 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 postOpt removeSimpleEquations (simulation): time 0.004601/0.3483, allocations: 3.009 MB / 480.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3483, allocations: 11.89 kB / 480.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.3489, allocations: 172.2 kB / 480.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007103/0.3496, allocations: 284.5 kB / 481.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.3497, allocations: 27.98 kB / 481.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/0.3544, allocations: 3.598 MB / 484.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3544, allocations: 7.938 kB / 484.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.3569, allocations: 1.565 MB / 486.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.3571, allocations: 148.3 kB / 486.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.3572, allocations: 23.98 kB / 486.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3576, allocations: 35.97 kB / 486.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3577, allocations: 88.78 kB / 486.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.3578, allocations: 35.98 kB / 486.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.3581, allocations: 263.2 kB / 486.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 486.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001083/0.3592, allocations: 308 kB / 487.2 MB, free: 12.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.3594, allocations: 131 kB / 487.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.3616, allocations: 1.382 MB / 488.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3616, allocations: 0 / 488.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3628, allocations: 0.8323 MB / 489.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.3635, allocations: 114.5 kB / 489.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.3667, allocations: 2.2 MB / 491.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/0.3674, allocations: 1.079 MB / 493 MB, free: 6.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.3677, allocations: 75.39 kB / 493 MB, free: 6.082 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3677, allocations: 0 / 493 MB, free: 6.082 MB / 366.1 MB Notification: Performance of Templates: time 0.01721/0.3849, allocations: 12.4 MB / 0.4936 GB, free: 9.664 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpenedCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.o] Error 1