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.000861/0.0008607, allocations: 96.2 kB / 16.95 MB, free: 5.672 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.0009333/0.0009332, allocations: 184.7 kB / 17.85 MB, free: 5.32 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.598/1.598, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1712/0.1712, allocations: 38.04 MB / 310.3 MB, free: 6.031 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.0005211/0.0005211, allocations: 16 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2677, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005084/0.2729, allocations: 6.749 MB / 440.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004411/0.2773, allocations: 4.159 MB / 444.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.2777, allocations: 19.88 kB / 444.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.278, allocations: 139 kB / 444.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.2799, allocations: 0.8834 MB / 445.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.2805, allocations: 231.4 kB / 445.7 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.2819, allocations: 1.921 MB / 447.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.2836, allocations: 1.169 MB / 448.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.2843, allocations: 493.7 kB / 449.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/0.285, allocations: 0.662 MB / 449.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.285, allocations: 32 kB / 449.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2864, allocations: 0.7363 MB / 450.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.2867, allocations: 446.9 kB / 451.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2868, allocations: 173.3 kB / 451.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00086/0.2877, allocations: 1.041 MB / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2877, allocations: 0 / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2877, allocations: 0 / 452.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2877, allocations: 0 / 452.3 MB, free: 15.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001495/0.2892, allocations: 0.9873 MB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2893, allocations: 12.03 kB / 453.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.2921, allocations: 394.5 kB / 453.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.2928, allocations: 465.6 kB / 454.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.2928, allocations: 57.92 kB / 454.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.293, allocations: 67.98 kB / 454.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2949, allocations: 1.168 MB / 455.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.2949, allocations: 3.906 kB / 455.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/0.295, allocations: 39.89 kB / 455.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-05/0.2951, allocations: 73.95 kB / 455.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.2968, allocations: 1.23 MB / 456.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.3022, allocations: 3.527 MB / 460.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3038, allocations: 1.065 MB / 461.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009492/0.3048, allocations: 0.6527 MB / 462 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.3048, allocations: 24.97 kB / 462 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.3049, allocations: 43.56 kB / 462.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.006e-06/0.3049, allocations: 0 / 462.1 MB, free: 5.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.005852/0.3107, allocations: 3.06 MB / 465.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.3108, allocations: 86.11 kB / 465.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.3112, allocations: 365.5 kB / 465.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.3113, allocations: 41.7 kB / 465.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.3115, allocations: 308.2 kB / 465.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.3117, allocations: 315.4 kB / 466.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.3118, allocations: 20 kB / 466.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3119, allocations: 366.8 kB / 466.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.3126, allocations: 473.7 kB / 467.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.3133, allocations: 0.5656 MB / 467.6 MB, free: 236 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.3141, allocations: 0.5379 MB / 468.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3141, allocations: 4 kB / 468.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00231/0.3165, allocations: 1.465 MB / 469.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3165, allocations: 4 kB / 469.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3165, allocations: 12.19 kB / 469.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.3174, allocations: 336.6 kB / 470 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.3181, allocations: 183.7 kB / 470.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.3231, allocations: 3.871 MB / 474 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.3237, allocations: 47.94 kB / 474.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.3237, allocations: 43.97 kB / 474.1 MB, free: 9.57 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 (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.0004004/0.3242, allocations: 284.2 kB / 474.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.3243, allocations: 59.34 kB / 474.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.3268, allocations: 1.571 MB / 476 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3268, allocations: 8 kB / 476 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3268, allocations: 8 kB / 476.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3268, allocations: 3.984 kB / 476.1 MB, free: 7.617 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.004577/0.3314, allocations: 3.021 MB / 479.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3314, allocations: 4 kB / 479.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.332, allocations: 167.8 kB / 479.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.3327, allocations: 280.6 kB / 479.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.3328, allocations: 27.98 kB / 479.5 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.3376, allocations: 3.614 MB / 483.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3377, allocations: 8 kB / 483.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/0.3402, allocations: 1.588 MB / 484.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3404, allocations: 144.3 kB / 484.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.3404, allocations: 20 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.3408, allocations: 43.95 kB / 485 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.341, allocations: 88.72 kB / 485 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.3411, allocations: 39.98 kB / 485.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.3414, allocations: 251.2 kB / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3414, allocations: 0 / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000949/0.3423, allocations: 304 kB / 485.6 MB, free: 13.68 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.0001732/0.3425, allocations: 131.1 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.3445, allocations: 1.389 MB / 487.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3446, allocations: 0 / 487.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3457, allocations: 0.8399 MB / 488 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.3464, allocations: 110.3 kB / 488.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3494, allocations: 2.173 MB / 490.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.3502, allocations: 1.068 MB / 491.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.3504, allocations: 75.39 kB / 491.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3504, allocations: 0 / 491.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Templates: time 0.01632/0.3668, allocations: 12.12 MB / 0.4917 GB, free: 11.63 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++ 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.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