Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_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.001064/0.001064, allocations: 111.1 kB / 17.16 MB, free: 6.082 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.001006/0.001006, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1808/0.1808, allocations: 38.04 MB / 329.9 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 57.52 kB / 398.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1126, allocations: 58.06 MB / 456.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007797/0.1205, allocations: 7.623 MB / 464.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.1256, allocations: 4.557 MB / 469 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.1259, allocations: 15.94 kB / 469 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.1281, allocations: 0.9836 MB / 470 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.1304, allocations: 1.211 MB / 471.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.1312, allocations: 303.3 kB / 471.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.1333, allocations: 2.584 MB / 474.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.1343, allocations: 0.8176 MB / 474.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.1349, allocations: 0.5289 MB / 475.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.1358, allocations: 0.814 MB / 476.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.1359, allocations: 60 kB / 476.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.1384, allocations: 1.801 MB / 478.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.1389, allocations: 0.5885 MB / 478.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.1394, allocations: 0.5443 MB / 479.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1409, allocations: 1.419 MB / 480.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1409, allocations: 0 / 480.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1409, allocations: 0 / 480.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1409, allocations: 0 / 480.6 MB, free: 0.5664 MB / 350.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.001794/0.1427, allocations: 1.338 MB / 482 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1428, allocations: 12.03 kB / 482 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.1464, allocations: 0.538 MB / 482.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007671/0.1472, allocations: 0.5559 MB / 483.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.1473, allocations: 66.36 kB / 483.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.1474, allocations: 92.27 kB / 483.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.1495, allocations: 1.509 MB / 484.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1495, allocations: 0 / 484.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.1496, allocations: 32 kB / 484.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.1497, allocations: 102 kB / 484.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.1519, allocations: 1.546 MB / 486.4 MB, free: 10.64 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 preOpt removeSimpleEquations (simulation): time 0.006809/0.1587, allocations: 4.923 MB / 491.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.1604, allocations: 1.192 MB / 492.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009571/0.1613, allocations: 0.7623 MB / 493.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.177e-05/0.1614, allocations: 21.06 kB / 493.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1615, allocations: 39.56 kB / 493.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.1615, allocations: 0 / 493.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007107/0.1686, allocations: 3.681 MB / 497 MB, free: 15.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1687, allocations: 90.11 kB / 497.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.1691, allocations: 473.8 kB / 497.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.1692, allocations: 45.73 kB / 497.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.1695, allocations: 423.4 kB / 498.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.1697, allocations: 374.6 kB / 498.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.17, allocations: 202.8 kB / 498.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1702, allocations: 386.8 kB / 499 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.1709, allocations: 0.5296 MB / 499.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.1718, allocations: 0.7578 MB / 0.4886 GB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.1736, allocations: 1.404 MB / 0.4899 GB, free: 10.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1736, allocations: 3.938 kB / 0.4899 GB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002738/0.1763, allocations: 1.794 MB / 0.4917 GB, free: 9.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.1764, allocations: 15.92 kB / 0.4917 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.1764, allocations: 11.94 kB / 0.4917 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.1774, allocations: 409.8 kB / 0.4921 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008157/0.1783, allocations: 235.6 kB / 0.4923 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.1843, allocations: 5.6 MB / 0.4978 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.1849, allocations: 63.84 kB / 0.4979 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/0.185, allocations: 48.05 kB / 0.4979 GB, free: 2.379 MB / 382.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.0005056/0.1855, allocations: 361.4 kB / 0.4982 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1856, allocations: 71.16 kB / 0.4983 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.1885, allocations: 1.81 MB / 0.5001 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1885, allocations: 12 kB / 0.5001 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1885, allocations: 8 kB / 0.5001 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1885, allocations: 7.969 kB / 0.5001 GB, free: 100 kB / 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.2387/0.4272, allocations: 3.461 MB / 0.5035 GB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.4273, allocations: 8.312 kB / 0.5035 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.428, allocations: 192.7 kB / 0.5037 GB, free: 54.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.4291, allocations: 349 kB / 0.504 GB, free: 54.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.4292, allocations: 28.17 kB / 0.504 GB, free: 54.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006324/0.4355, allocations: 5.321 MB / 0.5092 GB, free: 51.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.4356, allocations: 8.828 kB / 0.5092 GB, free: 51.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.4387, allocations: 1.829 MB / 0.511 GB, free: 50.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.439, allocations: 156.8 kB / 0.5112 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4391, allocations: 25.92 kB / 0.5112 GB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.4396, allocations: 53.5 kB / 0.5113 GB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.4398, allocations: 96.56 kB / 0.5113 GB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.4399, allocations: 39.16 kB / 0.5114 GB, free: 50.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004568/0.4404, allocations: 322.6 kB / 0.5117 GB, free: 50.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4404, allocations: 0 / 0.5117 GB, free: 50.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001327/0.4417, allocations: 401.1 kB / 0.5121 GB, free: 49.98 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.000206/0.442, allocations: 130.4 kB / 0.5122 GB, free: 49.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.445, allocations: 1.74 MB / 0.5139 GB, free: 49.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.445, allocations: 3.375 kB / 0.5139 GB, free: 49.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.4466, allocations: 1.075 MB / 0.5149 GB, free: 48.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.4474, allocations: 131.6 kB / 0.5151 GB, free: 48.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.4514, allocations: 2.765 MB / 0.5178 GB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.4523, allocations: 1.174 MB / 0.5189 GB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.4526, allocations: 76 kB / 0.519 GB, free: 46.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4526, allocations: 2.062 kB / 0.519 GB, free: 46.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02028/0.4729, allocations: 18.06 MB / 0.5366 GB, free: 34.14 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.o] Error 1