Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 103 kB / 17.16 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.001043/0.001043, allocations: 190.9 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.04 MB / 329.9 MB, free: 9.082 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 56.52 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1094, allocations: 58.06 MB / 456.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008216/0.1177, allocations: 8.09 MB / 464.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.1236, allocations: 4.919 MB / 469.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/0.1243, allocations: 23.88 kB / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.1267, allocations: 1.031 MB / 470.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.1295, allocations: 1.188 MB / 472 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.1304, allocations: 335.2 kB / 472.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.1329, allocations: 2.69 MB / 475.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.1338, allocations: 0.6614 MB / 475.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008182/0.1347, allocations: 0.5327 MB / 476.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008715/0.1355, allocations: 0.7633 MB / 477 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.1356, allocations: 52 kB / 477.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.1383, allocations: 1.73 MB / 478.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.1388, allocations: 478.8 kB / 479.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.1392, allocations: 441.8 kB / 479.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1407, allocations: 1.158 MB / 480.9 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1407, allocations: 0 / 480.9 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1407, allocations: 0 / 480.9 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1407, allocations: 0 / 480.9 MB, free: 428 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001544/0.1423, allocations: 1.163 MB / 482 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1423, allocations: 12.03 kB / 482 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.1455, allocations: 411.4 kB / 482.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.1462, allocations: 0.4913 MB / 482.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1463, allocations: 58.36 kB / 483 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1464, allocations: 72.36 kB / 483 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.1482, allocations: 1.227 MB / 484.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1482, allocations: 4 kB / 484.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.1483, allocations: 31.98 kB / 484.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.601e-05/0.1484, allocations: 77.95 kB / 484.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.1502, allocations: 1.315 MB / 485.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.1553, allocations: 3.7 MB / 489.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.157, allocations: 1.091 MB / 490.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000796/0.1578, allocations: 0.6427 MB / 491.1 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.1578, allocations: 25.06 kB / 491.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1579, allocations: 47.56 kB / 491.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.775e-06/0.1579, allocations: 7.875 kB / 491.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006386/0.1643, allocations: 3.13 MB / 494.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1644, allocations: 94.11 kB / 494.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.1648, allocations: 381.5 kB / 494.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.1649, allocations: 41.7 kB / 494.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1651, allocations: 328 kB / 495.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.1653, allocations: 315.3 kB / 495.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.1656, allocations: 170.6 kB / 495.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1657, allocations: 370.8 kB / 496 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.1663, allocations: 465.7 kB / 496.5 MB, free: 472 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.167, allocations: 0.5704 MB / 497 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.1684, allocations: 1.114 MB / 498.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1684, allocations: 0 / 498.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002304/0.1707, allocations: 1.489 MB / 499.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1708, allocations: 8 kB / 499.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1708, allocations: 0 / 499.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/0.1717, allocations: 336.8 kB / 500 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.1724, allocations: 183.7 kB / 0.4884 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.1771, allocations: 3.848 MB / 0.4922 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.1776, allocations: 47.95 kB / 0.4922 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.1777, allocations: 31.98 kB / 0.4923 GB, free: 8.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004385/0.1782, allocations: 309.6 kB / 0.4926 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1783, allocations: 59.25 kB / 0.4926 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.1808, allocations: 1.544 MB / 0.4941 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1808, allocations: 19.98 kB / 0.4941 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1808, allocations: 7.938 kB / 0.4941 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.1808, allocations: 7.969 kB / 0.4942 GB, free: 6.637 MB / 382.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.004425/0.1852, allocations: 3.021 MB / 0.4971 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.1853, allocations: 4 kB / 0.4971 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.1858, allocations: 163.8 kB / 0.4973 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007601/0.1866, allocations: 289.7 kB / 0.4975 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.1867, allocations: 24 kB / 0.4976 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2447/0.4314, allocations: 3.575 MB / 0.5011 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.4314, allocations: 7.688 kB / 0.5011 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/0.4342, allocations: 1.575 MB / 0.5026 GB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4344, allocations: 148 kB / 0.5027 GB, free: 54.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.4345, allocations: 25.83 kB / 0.5028 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.4349, allocations: 39.41 kB / 0.5028 GB, free: 54.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.4351, allocations: 84.91 kB / 0.5029 GB, free: 54.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.4352, allocations: 36.42 kB / 0.5029 GB, free: 54.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003264/0.4355, allocations: 264.5 kB / 0.5032 GB, free: 54.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4355, allocations: 0 / 0.5032 GB, free: 54.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001205/0.4368, allocations: 312.4 kB / 0.5035 GB, free: 54.47 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 (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.0001741/0.4369, allocations: 131.5 kB / 0.5036 GB, free: 54.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.4393, allocations: 1.384 MB / 0.5049 GB, free: 54.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4393, allocations: 1.125 kB / 0.5049 GB, free: 54.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4406, allocations: 0.8345 MB / 0.5058 GB, free: 53.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.4414, allocations: 107.5 kB / 0.5059 GB, free: 53.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.4445, allocations: 2.268 MB / 0.5081 GB, free: 52.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.4452, allocations: 1.084 MB / 0.5091 GB, free: 51.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.4454, allocations: 71.62 kB / 0.5092 GB, free: 51.6 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4454, allocations: 0.6562 kB / 0.5092 GB, free: 51.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02016/0.4656, allocations: 12.43 MB / 0.5213 GB, free: 47.77 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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_latest_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpenedCalcHelperMain.o] Error 1