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.000935/0.0009351, allocations: 108.5 kB / 17.16 MB, free: 6.324 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.0008643/0.0008643, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.22/1.22, 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.1578/0.1578, allocations: 38 MB / 309.3 MB, free: 6.25 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.001161/0.001161, allocations: 67.89 kB / 375.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1928, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005777/0.1987, allocations: 7.629 MB / 438.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.2034, allocations: 4.601 MB / 442.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006596/0.2041, allocations: 15.94 kB / 442.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.2062, allocations: 0.98 MB / 443.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.209, allocations: 1.219 MB / 445 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.2098, allocations: 303.3 kB / 445.2 MB, free: 5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.2116, allocations: 2.584 MB / 447.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008836/0.2125, allocations: 0.8138 MB / 448.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007766/0.2133, allocations: 0.525 MB / 449.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008868/0.2142, allocations: 0.8179 MB / 450 MB, free: 240 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2143, allocations: 60 kB / 450 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.2169, allocations: 1.797 MB / 451.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005858/0.2175, allocations: 0.5923 MB / 452.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.2182, allocations: 0.5442 MB / 453 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.22, allocations: 1.419 MB / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.22, allocations: 0 / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.22, allocations: 0 / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.2201, allocations: 4 kB / 454.4 MB, free: 11.81 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.002109/0.2222, allocations: 1.334 MB / 455.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2222, allocations: 8.031 kB / 455.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/0.226, allocations: 0.5341 MB / 456.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.2269, allocations: 0.5559 MB / 456.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.227, allocations: 74.36 kB / 456.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.2272, allocations: 84.36 kB / 457 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.2294, allocations: 1.501 MB / 458.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.2294, allocations: 4 kB / 458.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.2295, allocations: 35.98 kB / 458.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.2296, allocations: 106 kB / 458.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.2319, allocations: 1.546 MB / 460.2 MB, free: 5.891 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.00697/0.2389, allocations: 4.923 MB / 465.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2405, allocations: 1.184 MB / 466.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009493/0.2415, allocations: 0.7607 MB / 467 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/0.2416, allocations: 25.05 kB / 467.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2416, allocations: 47.69 kB / 467.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 2.825e-06/0.2416, allocations: 4 kB / 467.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.007023/0.2487, allocations: 3.677 MB / 470.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.2487, allocations: 86.11 kB / 470.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2492, allocations: 481.7 kB / 471.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.2493, allocations: 41.7 kB / 471.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2496, allocations: 419.5 kB / 471.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.2499, allocations: 374.6 kB / 472.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.2502, allocations: 210.8 kB / 472.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2504, allocations: 378.8 kB / 472.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.2511, allocations: 0.5374 MB / 473.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/0.252, allocations: 0.7462 MB / 474 MB, free: 7.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.2538, allocations: 1.404 MB / 475.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2538, allocations: 3.938 kB / 475.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002823/0.2567, allocations: 1.806 MB / 477.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2567, allocations: 4 kB / 477.2 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2567, allocations: 8 kB / 477.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.2578, allocations: 409.6 kB / 477.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.2586, allocations: 231.6 kB / 477.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/0.2649, allocations: 5.614 MB / 483.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.2655, allocations: 63.92 kB / 483.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.2656, allocations: 43.98 kB / 483.6 MB, free: 13.65 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.0005298/0.2662, allocations: 365.5 kB / 484 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2663, allocations: 71.16 kB / 484 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.2692, allocations: 1.822 MB / 485.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.2693, allocations: 12 kB / 485.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2693, allocations: 4 kB / 485.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2693, allocations: 7.984 kB / 485.9 MB, free: 11.35 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.00529/0.2746, allocations: 3.466 MB / 489.3 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2746, allocations: 4 kB / 489.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.2753, allocations: 191.7 kB / 489.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/0.2762, allocations: 353.4 kB / 489.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.563e-05/0.2763, allocations: 24 kB / 489.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.2821, allocations: 5.337 MB / 495.2 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2821, allocations: 4 kB / 495.2 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.2848, allocations: 1.831 MB / 497.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.285, allocations: 152.2 kB / 497.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2851, allocations: 31.98 kB / 497.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.2856, allocations: 55.89 kB / 497.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.2858, allocations: 88.81 kB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.2859, allocations: 36 kB / 497.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003364/0.2862, allocations: 323.1 kB / 497.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2862, allocations: 0 / 497.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001098/0.2873, allocations: 411.9 kB / 498.1 MB, free: 14.57 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.0001675/0.2875, allocations: 131 kB / 498.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.29, allocations: 1.736 MB / 0.4883 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.29, allocations: 0.5625 kB / 0.4883 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.2914, allocations: 1.084 MB / 0.4893 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.2921, allocations: 123.4 kB / 0.4895 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.2958, allocations: 2.774 MB / 0.4922 GB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.2966, allocations: 1.174 MB / 0.4933 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.2969, allocations: 67.42 kB / 0.4934 GB, free: 7.324 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2969, allocations: 4 kB / 0.4934 GB, free: 7.32 MB / 382.1 MB Notification: Performance of Templates: time 0.0212/0.3181, allocations: 18.06 MB / 0.511 GB, free: 5.203 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