Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009056/0.0009056, allocations: 194.9 kB / 18.08 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.189/1.189, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1565/0.1565, allocations: 37.98 MB / 309.2 MB, free: 6.242 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.001183/0.001184, allocations: 71.03 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1952, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006069/0.2013, allocations: 7.632 MB / 438.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00423/0.2056, allocations: 4.538 MB / 442.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.2062, allocations: 15.94 kB / 442.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.2081, allocations: 0.9771 MB / 443.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.2102, allocations: 1.141 MB / 444.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.2108, allocations: 287.3 kB / 445.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.2124, allocations: 2.588 MB / 447.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.2133, allocations: 0.6607 MB / 448.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008317/0.2141, allocations: 0.5055 MB / 448.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009121/0.215, allocations: 0.7321 MB / 449.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2152, allocations: 52 kB / 449.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.2175, allocations: 1.613 MB / 451.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.218, allocations: 470.8 kB / 451.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.2186, allocations: 418 kB / 452.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.2201, allocations: 1.099 MB / 453.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2201, allocations: 3.938 kB / 453.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2201, allocations: 0 / 453.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.2201, allocations: 0 / 453.2 MB, free: 13.01 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.001812/0.222, allocations: 1.132 MB / 454.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.222, allocations: 12.03 kB / 454.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.225, allocations: 379.4 kB / 454.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.2256, allocations: 482.6 kB / 455.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.2257, allocations: 50.38 kB / 455.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.2258, allocations: 76.3 kB / 455.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.2274, allocations: 1.18 MB / 456.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2275, allocations: 4 kB / 456.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.2275, allocations: 27.98 kB / 456.5 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/0.2276, allocations: 73.95 kB / 456.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.2293, allocations: 1.241 MB / 457.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.2339, allocations: 3.519 MB / 461.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.2354, allocations: 1.077 MB / 462.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.2362, allocations: 0.6489 MB / 463.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.2362, allocations: 21.36 kB / 463.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2363, allocations: 51.48 kB / 463.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.905e-06/0.2363, allocations: 0 / 463.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.005858/0.2422, allocations: 3.075 MB / 466.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.2422, allocations: 94.03 kB / 466.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.2426, allocations: 365.6 kB / 466.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.2426, allocations: 45.73 kB / 466.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.2428, allocations: 316.1 kB / 467 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.243, allocations: 307.5 kB / 467.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.2433, allocations: 158.6 kB / 467.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2434, allocations: 366.8 kB / 467.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/0.244, allocations: 473.7 kB / 468.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.2447, allocations: 0.5696 MB / 468.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.2461, allocations: 1.109 MB / 470 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2461, allocations: 4 kB / 470 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002196/0.2483, allocations: 1.481 MB / 471.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2484, allocations: 12.12 kB / 471.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2484, allocations: 4 kB / 471.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/0.2493, allocations: 336.6 kB / 471.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.2499, allocations: 183.7 kB / 472 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004589/0.2545, allocations: 3.856 MB / 475.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.255, allocations: 52.02 kB / 475.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.255, allocations: 31.98 kB / 475.9 MB, free: 5.723 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.0003528/0.2554, allocations: 297.5 kB / 476.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2555, allocations: 59.25 kB / 476.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.2579, allocations: 1.567 MB / 477.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.258, allocations: 12 kB / 477.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.258, allocations: 4 kB / 477.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.258, allocations: 3.984 kB / 477.9 MB, free: 3.762 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.004338/0.2623, allocations: 3.036 MB / 480.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2624, allocations: 4 kB / 480.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.2629, allocations: 167.7 kB / 481.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007434/0.2637, allocations: 289 kB / 481.4 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/0.2638, allocations: 27.92 kB / 481.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.2679, allocations: 3.604 MB / 485 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2679, allocations: 4 kB / 485 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.2701, allocations: 1.588 MB / 486.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2703, allocations: 144.3 kB / 486.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.2704, allocations: 28 kB / 486.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.2708, allocations: 43.91 kB / 486.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.2709, allocations: 80.83 kB / 486.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.271, allocations: 31.98 kB / 486.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.2712, allocations: 263.1 kB / 487.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2712, allocations: 0 / 487.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008314/0.2721, allocations: 308 kB / 487.5 MB, free: 9.805 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.0001484/0.2722, allocations: 127 kB / 487.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.2741, allocations: 1.393 MB / 489 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2741, allocations: 0 / 489 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2752, allocations: 0.8476 MB / 489.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.2758, allocations: 114.8 kB / 489.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.2785, allocations: 2.216 MB / 492.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.2791, allocations: 1.072 MB / 493.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.2794, allocations: 71.39 kB / 493.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2794, allocations: 0 / 493.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Templates: time 0.01335/0.2927, allocations: 12.14 MB / 0.4936 GB, free: 7.68 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dqCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.o] Error 1