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.0008541/0.0008537, allocations: 93.3 kB / 17.31 MB, free: 6.109 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.0008552/0.0008553, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.813/1.813, 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.1947/0.1947, allocations: 38.05 MB / 310.7 MB, free: 5.902 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.0005596/0.0005598, allocations: 12.56 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2999, allocations: 56.32 MB / 434.1 MB, free: 18.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005853/0.3058, allocations: 7.193 MB / 441.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.3117, allocations: 4.512 MB / 445.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.3122, allocations: 15.94 kB / 445.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.3126, allocations: 135 kB / 446 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.3154, allocations: 1.211 MB / 447.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.3163, allocations: 311.3 kB / 447.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.3183, allocations: 2.58 MB / 450.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.3204, allocations: 1.421 MB / 451.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.3214, allocations: 485.7 kB / 452 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008321/0.3222, allocations: 0.7593 MB / 452.7 MB, free: 252 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.3223, allocations: 36 kB / 452.8 MB, free: 216 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.3257, allocations: 1.769 MB / 454.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.3264, allocations: 0.5572 MB / 455.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.3271, allocations: 0.5264 MB / 455.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.3293, allocations: 1.399 MB / 457 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3293, allocations: 0 / 457 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3293, allocations: 0 / 457 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3293, allocations: 4 kB / 457 MB, free: 11.93 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.002017/0.3314, allocations: 1.162 MB / 458.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3314, allocations: 12.03 kB / 458.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/0.3353, allocations: 0.5458 MB / 458.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/0.3361, allocations: 0.5481 MB / 459.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.3362, allocations: 66.36 kB / 459.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3364, allocations: 88.28 kB / 459.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.3387, allocations: 1.512 MB / 461 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.3388, allocations: 0 / 461 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3389, allocations: 39.98 kB / 461 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.339, allocations: 98 kB / 461.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.3413, allocations: 1.546 MB / 462.6 MB, free: 6.18 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.007412/0.3488, allocations: 4.958 MB / 467.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3506, allocations: 1.18 MB / 468.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.3517, allocations: 0.7724 MB / 469.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.3518, allocations: 16.91 kB / 469.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.3518, allocations: 43.56 kB / 469.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.546e-06/0.3518, allocations: 0 / 469.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.007866/0.3597, allocations: 3.708 MB / 473.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.3598, allocations: 90.11 kB / 473.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.3604, allocations: 469.8 kB / 473.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.3605, allocations: 45.7 kB / 473.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.3608, allocations: 427.4 kB / 474.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.3612, allocations: 370.5 kB / 474.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3614, allocations: 93.67 kB / 474.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3615, allocations: 382.8 kB / 475.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.3623, allocations: 0.5374 MB / 475.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.3633, allocations: 0.7539 MB / 476.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.3652, allocations: 1.396 MB / 477.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3653, allocations: 3.938 kB / 477.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00312/0.3684, allocations: 1.806 MB / 479.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3684, allocations: 8.094 kB / 479.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3684, allocations: 8 kB / 479.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.3696, allocations: 413.3 kB / 480.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.3704, allocations: 235.6 kB / 480.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.3774, allocations: 5.61 MB / 485.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/0.3782, allocations: 67.92 kB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.001e-05/0.3783, allocations: 44.06 kB / 486 MB, free: 13.98 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.3789, allocations: 361.4 kB / 486.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.379, allocations: 75.06 kB / 486.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.3822, allocations: 1.81 MB / 488.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3822, allocations: 12 kB / 488.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3823, allocations: 12 kB / 488.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.3823, allocations: 11.97 kB / 488.3 MB, free: 11.68 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.005805/0.3881, allocations: 3.462 MB / 491.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.3881, allocations: 7.984 kB / 491.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.3888, allocations: 191.7 kB / 492 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009409/0.3898, allocations: 350 kB / 492.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.3898, allocations: 35.98 kB / 492.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/0.3966, allocations: 5.351 MB / 497.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3966, allocations: 7.938 kB / 497.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.3997, allocations: 1.827 MB / 499.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.3999, allocations: 160.1 kB / 499.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.4, allocations: 24 kB / 499.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.4006, allocations: 55.94 kB / 499.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.4007, allocations: 96.75 kB / 499.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.4008, allocations: 32 kB / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.4013, allocations: 331.1 kB / 0.4885 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4013, allocations: 0 / 0.4885 GB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001264/0.4025, allocations: 396 kB / 0.4889 GB, free: 14.88 MB / 382.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002481/0.4028, allocations: 142.4 kB / 0.489 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.4056, allocations: 1.744 MB / 0.4907 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4056, allocations: 4.125 kB / 0.4907 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.4071, allocations: 1.08 MB / 0.4918 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.4081, allocations: 131.4 kB / 0.4919 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.412, allocations: 2.781 MB / 0.4946 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009224/0.413, allocations: 1.174 MB / 0.4957 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4133, allocations: 71.42 kB / 0.4958 GB, free: 7.594 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4133, allocations: 0 / 0.4958 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Templates: time 0.02432/0.4376, allocations: 17.98 MB / 0.5134 GB, free: 5.566 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++ -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.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