Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009032, allocations: 93.08 kB / 17.31 MB, free: 5.59 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.001056/0.001056, allocations: 174.2 kB / 18.21 MB, free: 5.195 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.825/1.825, allocations: 205.4 MB / 224.4 MB, free: 12.94 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1885/0.1885, allocations: 38.06 MB / 310.7 MB, free: 5.891 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.0005554/0.0005554, allocations: 12 kB / 377.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.303, allocations: 56.34 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005983/0.309, allocations: 7.177 MB / 441.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004753/0.3138, allocations: 4.453 MB / 445.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.3141, allocations: 15.94 kB / 445.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.3145, allocations: 135.1 kB / 445.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.3166, allocations: 1.141 MB / 447.1 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.3172, allocations: 287.3 kB / 447.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.3188, allocations: 2.58 MB / 449.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.3207, allocations: 1.261 MB / 451.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.3212, allocations: 481.7 kB / 451.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.3219, allocations: 0.6852 MB / 452.3 MB, free: 400 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.322, allocations: 32 kB / 452.4 MB, free: 368 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.3244, allocations: 1.59 MB / 454 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.3249, allocations: 442.9 kB / 454.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.3252, allocations: 419.6 kB / 454.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3265, allocations: 1.083 MB / 455.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3265, allocations: 0 / 455.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3265, allocations: 0 / 455.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3265, allocations: 0 / 455.9 MB, free: 12.82 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001498/0.328, allocations: 0.9874 MB / 456.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3281, allocations: 8.031 kB / 456.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.3309, allocations: 391.4 kB / 457.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.3315, allocations: 478.6 kB / 457.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.3316, allocations: 58.36 kB / 457.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.3317, allocations: 72.3 kB / 457.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.3334, allocations: 1.18 MB / 459 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.3335, allocations: 3.938 kB / 459 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.3336, allocations: 31.98 kB / 459.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.3337, allocations: 69.95 kB / 459.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.3354, allocations: 1.241 MB / 460.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.3403, allocations: 3.531 MB / 463.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3419, allocations: 1.065 MB / 465 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.3427, allocations: 0.6567 MB / 465.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.3428, allocations: 20.98 kB / 465.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3428, allocations: 43.78 kB / 465.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.467e-06/0.3429, allocations: 3.938 kB / 465.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006157/0.349, allocations: 3.107 MB / 468.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3491, allocations: 86.11 kB / 468.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.3495, allocations: 365.5 kB / 469.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.3495, allocations: 41.73 kB / 469.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.3498, allocations: 324 kB / 469.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.3501, allocations: 315.4 kB / 469.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3502, allocations: 69.69 kB / 470 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3504, allocations: 370.8 kB / 470.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.3511, allocations: 465.7 kB / 470.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.3519, allocations: 0.5696 MB / 471.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.3534, allocations: 1.109 MB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3534, allocations: 0 / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002344/0.3558, allocations: 1.477 MB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3558, allocations: 8 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3558, allocations: 8.188 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009114/0.3567, allocations: 336.6 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.3574, allocations: 183.7 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.3626, allocations: 3.88 MB / 478.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.363, allocations: 47.94 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.3631, allocations: 35.98 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0004194/0.3635, allocations: 293.5 kB / 478.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3637, allocations: 55.34 kB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.3663, allocations: 1.571 MB / 480.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.3663, allocations: 12 kB / 480.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3663, allocations: 4 kB / 480.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3663, allocations: 7.969 kB / 480.4 MB, free: 3.746 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.004738/0.3711, allocations: 3.032 MB / 483.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3711, allocations: 4 kB / 483.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3717, allocations: 167.8 kB / 483.6 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000775/0.3725, allocations: 284.6 kB / 483.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.3725, allocations: 31.86 kB / 483.9 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004787/0.3773, allocations: 3.617 MB / 487.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.3774, allocations: 8 kB / 487.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.3798, allocations: 1.596 MB / 489.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.38, allocations: 144.3 kB / 489.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.3801, allocations: 24 kB / 489.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.3805, allocations: 43.95 kB / 489.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3807, allocations: 88.77 kB / 489.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.3808, allocations: 28 kB / 489.4 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3811, allocations: 263.1 kB / 489.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3811, allocations: 0 / 489.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009749/0.3821, allocations: 304 kB / 490 MB, free: 9.773 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.0002083/0.3823, allocations: 134.9 kB / 490.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.3844, allocations: 1.389 MB / 491.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.3844, allocations: 4 kB / 491.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3856, allocations: 0.8477 MB / 492.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.3865, allocations: 106.3 kB / 492.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.3898, allocations: 2.248 MB / 494.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.3906, allocations: 1.068 MB / 495.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.3908, allocations: 75.39 kB / 495.8 MB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3908, allocations: 3.938 kB / 495.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01546/0.4063, allocations: 12.09 MB / 0.496 GB, free: 7.664 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoopCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.o] Error 1