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.001019/0.001019, allocations: 96.72 kB / 17.31 MB, free: 5.941 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.001266/0.001266, allocations: 177.2 kB / 18.21 MB, free: 5.414 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.834/1.834, 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.182/0.182, allocations: 38.06 MB / 310.7 MB, free: 5.906 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.0005501/0.0005501, allocations: 12 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3287, allocations: 56.32 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006265/0.335, allocations: 7.656 MB / 441.8 MB, free: 11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.3412, allocations: 4.858 MB / 446.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.3417, allocations: 27.81 kB / 446.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.3421, allocations: 135 kB / 446.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.3444, allocations: 1.203 MB / 448 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.3451, allocations: 327.2 kB / 448.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.347, allocations: 2.689 MB / 451 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.3489, allocations: 1.231 MB / 452.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006623/0.3496, allocations: 493.6 kB / 452.7 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009495/0.3506, allocations: 0.7047 MB / 453.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.3507, allocations: 36 kB / 453.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.3535, allocations: 1.707 MB / 455.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004754/0.354, allocations: 458.8 kB / 455.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.3544, allocations: 435.5 kB / 456.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3558, allocations: 1.142 MB / 457.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3558, allocations: 0 / 457.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3559, allocations: 0 / 457.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3559, allocations: 0 / 457.2 MB, free: 11.52 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.001657/0.3575, allocations: 1.019 MB / 458.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3576, allocations: 8.031 kB / 458.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.3607, allocations: 419.4 kB / 458.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.3614, allocations: 495.2 kB / 459.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.3615, allocations: 58.36 kB / 459.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.3616, allocations: 76.34 kB / 459.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.3636, allocations: 1.234 MB / 460.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3637, allocations: 0 / 460.5 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.3638, allocations: 31.98 kB / 460.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3639, allocations: 77.95 kB / 460.6 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.3659, allocations: 1.315 MB / 461.9 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.3716, allocations: 3.72 MB / 465.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.3735, allocations: 1.089 MB / 466.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/0.3744, allocations: 0.6409 MB / 467.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.3745, allocations: 21.12 kB / 467.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3745, allocations: 47.56 kB / 467.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 1.944e-06/0.3745, allocations: 0 / 467.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006823/0.3814, allocations: 3.157 MB / 470.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3814, allocations: 86.11 kB / 470.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.3819, allocations: 377.6 kB / 471 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.3819, allocations: 41.7 kB / 471.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.3822, allocations: 324 kB / 471.4 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.3825, allocations: 323.5 kB / 471.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.3826, allocations: 73.67 kB / 471.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.3829, allocations: 366.8 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.3836, allocations: 469.7 kB / 472.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.3844, allocations: 0.5743 MB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.3859, allocations: 1.114 MB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.386, allocations: 3.938 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002392/0.3884, allocations: 1.489 MB / 475.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3884, allocations: 4.219 kB / 475.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3884, allocations: 8 kB / 475.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009361/0.3893, allocations: 340.5 kB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.39, allocations: 183.7 kB / 476.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/0.3952, allocations: 3.868 MB / 480.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3957, allocations: 47.95 kB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.3958, allocations: 31.98 kB / 480.2 MB, free: 3.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004179/0.3962, allocations: 313.4 kB / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3963, allocations: 55.34 kB / 480.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.3989, allocations: 1.547 MB / 482.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3989, allocations: 12 kB / 482.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.3989, allocations: 7.938 kB / 482.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.399, allocations: 11.98 kB / 482.2 MB, free: 1.918 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.004596/0.4036, allocations: 3.014 MB / 485.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4036, allocations: 7.938 kB / 485.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.4042, allocations: 167.8 kB / 485.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007468/0.4049, allocations: 284.8 kB / 485.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.405, allocations: 23.98 kB / 485.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.4096, allocations: 3.61 MB / 489.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4097, allocations: 7.938 kB / 489.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.412, allocations: 1.576 MB / 490.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4122, allocations: 148.3 kB / 491 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.4123, allocations: 27.98 kB / 491 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.4127, allocations: 35.97 kB / 491.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.4128, allocations: 84.77 kB / 491.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.4129, allocations: 39.98 kB / 491.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.4132, allocations: 259.2 kB / 491.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4132, allocations: 0 / 491.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.4141, allocations: 316 kB / 491.8 MB, free: 7.984 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.4143, allocations: 119.1 kB / 491.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.4164, allocations: 1.394 MB / 493.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4164, allocations: 0 / 493.3 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4176, allocations: 0.836 MB / 494.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.4184, allocations: 111 kB / 494.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.4215, allocations: 2.289 MB / 496.5 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008397/0.4224, allocations: 1.083 MB / 497.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.4226, allocations: 71.39 kB / 497.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4226, allocations: 4 kB / 497.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of Templates: time 0.0171/0.4397, allocations: 12.36 MB / 0.4981 GB, free: 5.574 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++ -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.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