Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008514, allocations: 93.73 kB / 16.95 MB, free: 5.938 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.0008498/0.0008498, allocations: 178.7 kB / 17.84 MB, free: 5.617 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.551/1.551, 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.1658/0.1658, allocations: 38.05 MB / 310.3 MB, free: 6.102 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.0005295/0.0005295, allocations: 12 kB / 377.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2721, allocations: 56.33 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004976/0.2771, allocations: 6.772 MB / 440.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.2816, allocations: 4.214 MB / 444.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.282, allocations: 15.94 kB / 444.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.2824, allocations: 143 kB / 444.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.2843, allocations: 0.9498 MB / 445.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.285, allocations: 259.3 kB / 445.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.2862, allocations: 1.921 MB / 447.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.2879, allocations: 1.275 MB / 449 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.2887, allocations: 0.4977 MB / 449.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.2894, allocations: 0.74 MB / 450.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.2895, allocations: 40 kB / 450.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.2911, allocations: 0.9196 MB / 451.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.2914, allocations: 0.569 MB / 451.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2916, allocations: 217.2 kB / 452 MB, free: 248 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2929, allocations: 1.345 MB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2929, allocations: 0 / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2929, allocations: 0 / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.2929, allocations: 0 / 453.3 MB, free: 14.89 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001681/0.2946, allocations: 1.174 MB / 454.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2947, allocations: 12.03 kB / 454.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.2981, allocations: 0.5449 MB / 455.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.299, allocations: 0.5471 MB / 455.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.299, allocations: 62 kB / 455.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.2992, allocations: 87.98 kB / 455.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.3014, allocations: 1.493 MB / 457.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.3015, allocations: 7.938 kB / 457.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.3016, allocations: 35.94 kB / 457.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.3017, allocations: 109.9 kB / 457.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.304, allocations: 1.534 MB / 458.9 MB, free: 9.148 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.00739/0.3114, allocations: 4.939 MB / 463.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.3132, allocations: 1.172 MB / 465 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009876/0.3142, allocations: 0.7611 MB / 465.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.95e-05/0.3143, allocations: 29.05 kB / 465.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3144, allocations: 47.5 kB / 465.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=107): time 3.236e-06/0.3144, allocations: 3.938 kB / 465.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=108): time 0.007491/0.3219, allocations: 3.65 MB / 469.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.322, allocations: 98.08 kB / 469.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.3226, allocations: 465.8 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.3227, allocations: 41.7 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.323, allocations: 435.4 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.3233, allocations: 374.6 kB / 470.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.3234, allocations: 20 kB / 470.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3236, allocations: 382.8 kB / 471.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007803/0.3244, allocations: 0.5296 MB / 471.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/0.3254, allocations: 0.754 MB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.3263, allocations: 0.6549 MB / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3264, allocations: 0 / 473.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002913/0.3293, allocations: 1.786 MB / 475 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3293, allocations: 8 kB / 475 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3293, allocations: 4 kB / 475 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.3304, allocations: 413.8 kB / 475.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.3313, allocations: 235.6 kB / 475.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/0.3383, allocations: 5.602 MB / 481.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.3392, allocations: 67.89 kB / 481.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.3394, allocations: 47.98 kB / 481.4 MB, free: 1.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007148/0.3401, allocations: 353.4 kB / 481.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.3403, allocations: 75.14 kB / 481.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.3436, allocations: 1.807 MB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3436, allocations: 12 kB / 483.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.3436, allocations: 4 kB / 483.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3436, allocations: 7.969 kB / 483.6 MB, free: 15.67 MB / 366.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.005821/0.3495, allocations: 3.47 MB / 487.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.3495, allocations: 0 / 487.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.3502, allocations: 200.2 kB / 487.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.3511, allocations: 349.3 kB / 487.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.3512, allocations: 27.98 kB / 487.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.3575, allocations: 5.344 MB / 493 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.3576, allocations: 4 kB / 493 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/0.3607, allocations: 1.811 MB / 494.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.361, allocations: 160.1 kB / 495 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.3612, allocations: 24 kB / 495 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.3618, allocations: 55.88 kB / 495.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.362, allocations: 84.84 kB / 495.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.3621, allocations: 43.98 kB / 495.2 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.3625, allocations: 323.1 kB / 495.5 MB, free: 3.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3625, allocations: 0 / 495.5 MB, free: 3.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001354/0.3638, allocations: 399.9 kB / 495.9 MB, free: 2.902 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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.3641, allocations: 123.1 kB / 496 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.3668, allocations: 1.748 MB / 497.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.3669, allocations: 4 kB / 497.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.3685, allocations: 1.073 MB / 498.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009422/0.3694, allocations: 119.4 kB / 499 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.3737, allocations: 2.705 MB / 0.4899 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.3748, allocations: 1.167 MB / 0.491 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.3751, allocations: 75.41 kB / 0.4911 GB, free: 11.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3751, allocations: 0 / 0.4911 GB, free: 11.74 MB / 382.1 MB Notification: Performance of Templates: time 0.0285/0.4036, allocations: 18.02 MB / 0.5087 GB, free: 9.664 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.NetworkLoop_dq0CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.o] Error 1