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.0009261/0.0009261, 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.0008585/0.0008585, 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.19/1.19, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1562/0.1562, allocations: 37.98 MB / 309.3 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.001182/0.001182, allocations: 59.05 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1883, allocations: 55.25 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005591/0.1939, allocations: 7.625 MB / 438.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.1979, allocations: 4.535 MB / 442.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.1983, allocations: 15.94 kB / 442.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.2001, allocations: 0.979 MB / 443.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.202, allocations: 1.141 MB / 444.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.2026, allocations: 283.3 kB / 445.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2041, allocations: 2.588 MB / 447.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.2049, allocations: 0.6606 MB / 448.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.2056, allocations: 0.5094 MB / 448.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.2063, allocations: 0.7322 MB / 449.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2064, allocations: 48 kB / 449.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.2085, allocations: 1.613 MB / 451.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004463/0.209, allocations: 466.9 kB / 451.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.2094, allocations: 421.9 kB / 452.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2107, allocations: 1.095 MB / 453.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2107, allocations: 4 kB / 453.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2107, allocations: 0 / 453.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2107, allocations: 0 / 453.2 MB, free: 13.02 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.001387/0.2121, allocations: 1.128 MB / 454.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2121, allocations: 12.02 kB / 454.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.215, allocations: 387.4 kB / 454.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.2155, allocations: 482.6 kB / 455.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.2156, allocations: 50.38 kB / 455.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2157, allocations: 72.36 kB / 455.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.2173, allocations: 1.18 MB / 456.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.2173, allocations: 3.938 kB / 456.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.2174, allocations: 31.98 kB / 456.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.663e-05/0.2175, allocations: 73.95 kB / 456.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2191, allocations: 1.237 MB / 457.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.2237, allocations: 3.519 MB / 461.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.2252, allocations: 1.069 MB / 462.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.2261, allocations: 0.6606 MB / 463.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.2261, allocations: 16.98 kB / 463.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2262, allocations: 47.55 kB / 463.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.135e-06/0.2262, allocations: 0 / 463.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.005842/0.232, allocations: 3.091 MB / 466.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2321, allocations: 86.11 kB / 466.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.2324, allocations: 361.6 kB / 466.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.2325, allocations: 45.73 kB / 466.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2326, allocations: 320.1 kB / 467 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.2329, allocations: 311.4 kB / 467.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.2331, allocations: 154.6 kB / 467.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2332, allocations: 366.8 kB / 467.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.2338, allocations: 465.7 kB / 468.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.2345, allocations: 0.5734 MB / 468.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2359, allocations: 1.113 MB / 470 MB, free: 11.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2359, allocations: 0 / 470 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002193/0.2381, allocations: 1.485 MB / 471.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2382, allocations: 12.19 kB / 471.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2382, allocations: 0 / 471.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008933/0.2391, allocations: 340.6 kB / 471.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.2397, allocations: 179.7 kB / 472 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.2442, allocations: 3.857 MB / 475.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.2446, allocations: 48 kB / 475.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.2446, allocations: 39.98 kB / 475.9 MB, free: 5.727 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.0003206/0.245, allocations: 293.5 kB / 476.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2451, allocations: 63.23 kB / 476.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.2475, allocations: 1.567 MB / 477.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2475, allocations: 12 kB / 477.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2475, allocations: 4 kB / 477.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.2476, allocations: 3.984 kB / 477.9 MB, free: 3.766 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.004219/0.2518, allocations: 3.036 MB / 480.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2518, allocations: 7.984 kB / 480.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.2524, allocations: 163.8 kB / 481.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007151/0.2531, allocations: 289 kB / 481.4 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.2532, allocations: 24 kB / 481.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/0.2572, allocations: 3.604 MB / 485 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.2573, allocations: 7.938 kB / 485 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.2594, allocations: 1.592 MB / 486.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.2595, allocations: 144.3 kB / 486.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.2596, allocations: 31.98 kB / 486.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.26, allocations: 35.97 kB / 486.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.2601, allocations: 80.77 kB / 486.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.2602, allocations: 39.98 kB / 486.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.2604, allocations: 255.2 kB / 487.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2604, allocations: 0 / 487.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007611/0.2612, allocations: 312 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.0001408/0.2613, allocations: 119.1 kB / 487.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.2631, allocations: 1.401 MB / 489 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2631, allocations: 4 kB / 489 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.2642, allocations: 0.8438 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.0006045/0.2648, allocations: 110 kB / 489.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.2673, allocations: 2.226 MB / 492.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.268, allocations: 1.072 MB / 493.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.2682, allocations: 75.39 kB / 493.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2682, allocations: 0 / 493.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Templates: time 0.01261/0.2808, allocations: 12.13 MB / 0.4936 GB, free: 7.684 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