Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled.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.NetworkControlled,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.|turbine1.tau|turbine2.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,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.|turbine1.tau|turbine2.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 89.14 kB / 16.95 MB, free: 5.953 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.0008199/0.0008199, allocations: 178.7 kB / 17.84 MB, free: 5.617 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.36/1.36, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1762/0.1762, allocations: 38.1 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 59.17 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.009629/0.128, allocations: 8.801 MB / 468.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007193/0.1353, allocations: 5.144 MB / 473.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.1362, allocations: 31.88 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.1368, allocations: 198.4 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.1395, allocations: 1.031 MB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1408, allocations: 446.3 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.1435, allocations: 2.479 MB / 478 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1458, allocations: 1.405 MB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1469, allocations: 0.661 MB / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.1479, allocations: 0.8524 MB / 480.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.148, allocations: 52 kB / 481 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.1498, allocations: 0.8493 MB / 481.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004733/0.1503, allocations: 0.5103 MB / 482.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.1505, allocations: 253 kB / 482.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1521, allocations: 1.438 MB / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1521, allocations: 0 / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1521, allocations: 0 / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1521, allocations: 0 / 484 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002309/0.1544, allocations: 1.451 MB / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1545, allocations: 8.031 kB / 485.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.1576, allocations: 485.7 kB / 485.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.1586, allocations: 0.654 MB / 486.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.1587, allocations: 86.16 kB / 486.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.1589, allocations: 115.9 kB / 486.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.1614, allocations: 1.608 MB / 488.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.1614, allocations: 7.984 kB / 488.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.1615, allocations: 43.98 kB / 488.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.831e-05/0.1616, allocations: 90.22 kB / 488.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.1643, allocations: 1.656 MB / 490.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007115/0.1714, allocations: 4.98 MB / 495.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/0.1734, allocations: 1.35 MB / 496.5 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.1746, allocations: 0.8057 MB / 497.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.1747, allocations: 20.94 kB / 497.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.176, allocations: 0.8451 MB / 498.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 2.715e-06/0.176, allocations: 0 / 498.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01253/0.1886, allocations: 6.389 MB / 0.4927 GB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.1887, allocations: 120.1 kB / 0.4929 GB, free: 9.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.1893, allocations: 0.5665 MB / 0.4934 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-05/0.1894, allocations: 45.7 kB / 0.4935 GB, free: 9.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.1898, allocations: 484.2 kB / 0.4939 GB, free: 8.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.1901, allocations: 461.2 kB / 0.4944 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.1902, allocations: 24 kB / 0.4944 GB, free: 8.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1904, allocations: 410.8 kB / 0.4948 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.1914, allocations: 0.6155 MB / 0.4954 GB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1925, allocations: 0.7832 MB / 0.4961 GB, free: 6.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.1937, allocations: 0.7498 MB / 0.4969 GB, free: 5.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1937, allocations: 8 kB / 0.4969 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003707/0.1975, allocations: 2.119 MB / 0.499 GB, free: 3.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.1976, allocations: 202.5 kB / 0.4991 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1977, allocations: 4 kB / 0.4991 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.199, allocations: 461.4 kB / 0.4996 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2, allocations: 267.6 kB / 0.4998 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2469/0.447, allocations: 6.272 MB / 0.506 GB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.4481, allocations: 88.33 kB / 0.5061 GB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4482, allocations: 55.55 kB / 0.5061 GB, free: 51.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.4482, allocations: 5.344 kB / 0.5061 GB, free: 51.96 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003757/0.452, allocations: 1.919 MB / 0.508 GB, free: 51.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.452, allocations: 3.219 kB / 0.508 GB, free: 51.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.4532, allocations: 434.4 kB / 0.5084 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4543, allocations: 264.1 kB / 0.5087 GB, free: 51.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007169/0.4614, allocations: 6.034 MB / 0.5145 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.4624, allocations: 79.84 kB / 0.5146 GB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/0.4625, allocations: 52.41 kB / 0.5147 GB, free: 47.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition2,$whenCondition1,$PRE.disturbance.T_start,disturbance.T_start,$PRE.disturbance.count,disturbance.count,frequencyPowerControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,2 29} Notification: Performance of prepare postOptimizeDAE: time 0.000701/0.4632, allocations: 432.4 kB / 0.5151 GB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4634, allocations: 102.1 kB / 0.5152 GB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.4682, allocations: 2.184 MB / 0.5173 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.4682, allocations: 14.66 kB / 0.5173 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4683, allocations: 5.031 kB / 0.5173 GB, free: 46.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.4683, allocations: 7.266 kB / 0.5173 GB, free: 46.47 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.007063/0.4753, allocations: 3.969 MB / 0.5212 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.4754, allocations: 7.844 kB / 0.5212 GB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.4762, allocations: 214.6 kB / 0.5214 GB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001466/0.4777, allocations: 0.5097 MB / 0.5219 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.4778, allocations: 33.2 kB / 0.522 GB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007292/0.4851, allocations: 6.533 MB / 0.5283 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4851, allocations: 10.08 kB / 0.5283 GB, free: 40.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.4898, allocations: 3.111 MB / 0.5314 GB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.4904, allocations: 288 kB / 0.5317 GB, free: 38.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.4905, allocations: 27.72 kB / 0.5317 GB, free: 38.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.4912, allocations: 86.58 kB / 0.5318 GB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.4915, allocations: 119.4 kB / 0.5319 GB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.4916, allocations: 46.8 kB / 0.5319 GB, free: 38.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004881/0.4921, allocations: 401 kB / 0.5323 GB, free: 38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4921, allocations: 0 / 0.5323 GB, free: 38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002033/0.4941, allocations: 0.6603 MB / 0.533 GB, free: 37.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (inertia1.phi,inertia1.w,frequencyPowerControl.I.y,system.theta) * Number of discrete variables: 5 (system.initime,$whenCondition2,$whenCondition1,disturbance.T_start,disturbance.count) * Number of discrete states: 1 (disturbance.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 40,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.4943, allocations: 141 kB / 0.5331 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.4986, allocations: 3.353 MB / 0.5364 GB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4986, allocations: 0 / 0.5364 GB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.5004, allocations: 1.316 MB / 0.5376 GB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.5014, allocations: 180 kB / 0.5378 GB, free: 33.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.5052, allocations: 3.261 MB / 0.541 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.5059, allocations: 1.26 MB / 0.5422 GB, free: 28.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.5062, allocations: 87.39 kB / 0.5423 GB, free: 28.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5062, allocations: 4 kB / 0.5423 GB, free: 28.49 MB / 382.1 MB Notification: Performance of Templates: time 0.02326/0.5295, allocations: 23.25 MB / 0.565 GB, free: 5.203 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlledCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkControlledCalcHelperMain.o] Error 1