Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled") translateModel(PowerSystems.Examples.Generic.Network.NetworkControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009025/0.0009027, allocations: 88.45 kB / 17.3 MB, free: 5.59 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.001105/0.001105, allocations: 171.6 kB / 18.21 MB, free: 5.195 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.786/1.786, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1753/0.1753, allocations: 38.06 MB / 310.7 MB, free: 5.898 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.0005361/0.0005361, allocations: 12 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3069, allocations: 56.34 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.00788/0.3148, allocations: 9.394 MB / 443.5 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00699/0.3219, allocations: 5.532 MB / 449.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.323, allocations: 35.81 kB / 449.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.3235, allocations: 182.6 kB / 449.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.3266, allocations: 1.285 MB / 450.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3281, allocations: 0.5458 MB / 451.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.3311, allocations: 3.205 MB / 454.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.3337, allocations: 1.555 MB / 455.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3352, allocations: 0.6569 MB / 456.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.3363, allocations: 0.8835 MB / 457.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3364, allocations: 48 kB / 457.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.3397, allocations: 1.843 MB / 459.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.3403, allocations: 0.5063 MB / 459.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.341, allocations: 0.6078 MB / 460.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3432, allocations: 1.5 MB / 461.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3433, allocations: 0 / 461.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3433, allocations: 0 / 461.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3433, allocations: 0 / 461.9 MB, free: 6.738 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: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002731/0.346, allocations: 1.447 MB / 463.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3461, allocations: 8.031 kB / 463.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.3495, allocations: 486.7 kB / 463.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3506, allocations: 0.6744 MB / 464.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.3507, allocations: 82.53 kB / 464.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.3509, allocations: 116.2 kB / 464.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.3536, allocations: 1.62 MB / 466.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.3536, allocations: 8 kB / 466.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.3537, allocations: 43.98 kB / 466.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.3539, allocations: 90.22 kB / 466.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.3566, allocations: 1.66 MB / 468.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007538/0.3641, allocations: 4.995 MB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.3664, allocations: 1.358 MB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3676, allocations: 0.8132 MB / 475.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.3677, allocations: 24.97 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.3691, allocations: 0.849 MB / 476.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.386e-06/0.3691, allocations: 4 kB / 476.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01382/0.383, allocations: 6.451 MB / 482.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.3831, allocations: 120.1 kB / 482.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.3838, allocations: 0.5704 MB / 483.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.219e-05/0.3839, allocations: 53.7 kB / 483.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.3843, allocations: 480.2 kB / 483.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.3847, allocations: 473.3 kB / 484.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3849, allocations: 109.6 kB / 484.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3851, allocations: 406.8 kB / 484.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.3862, allocations: 0.6271 MB / 485.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3874, allocations: 0.7949 MB / 486.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3898, allocations: 1.534 MB / 487.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3899, allocations: 0 / 487.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003934/0.3938, allocations: 2.123 MB / 489.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.394, allocations: 214.5 kB / 490.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.394, allocations: 0 / 490.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3953, allocations: 453.3 kB / 490.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3964, allocations: 263.6 kB / 490.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/0.4053, allocations: 6.287 MB / 497.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4064, allocations: 87.91 kB / 497.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.4065, allocations: 52.27 kB / 497.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.4066, allocations: 0 / 497.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0035/0.4101, allocations: 1.927 MB / 499.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4101, allocations: 7.938 kB / 499.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4112, allocations: 446.4 kB / 499.6 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4122, allocations: 259.6 kB / 499.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00724/0.4195, allocations: 6.052 MB / 0.494 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.4205, allocations: 91.91 kB / 0.4941 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.4206, allocations: 51.98 kB / 0.4942 GB, free: 9.344 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,disturbance.count,$PRE.disturbance.count,disturbance.T_start,$PRE.disturbance.T_start,$whenCondition1,$whenCondition2,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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (2,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0007908/0.4214, allocations: 420.8 kB / 0.4946 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.4216, allocations: 94.88 kB / 0.4947 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.4258, allocations: 2.204 MB / 0.4968 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.4259, allocations: 15.94 kB / 0.4968 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4259, allocations: 0 / 0.4968 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.4259, allocations: 11.97 kB / 0.4968 GB, free: 6.582 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.006754/0.4326, allocations: 3.978 MB / 0.5007 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.4327, allocations: 8.031 kB / 0.5007 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.4336, allocations: 215.7 kB / 0.5009 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.4351, allocations: 0.5051 MB / 0.5014 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.4352, allocations: 31.98 kB / 0.5015 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00853/0.4438, allocations: 6.559 MB / 0.5079 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.4438, allocations: 4.234 kB / 0.5079 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.4494, allocations: 3.133 MB / 0.5109 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000546/0.45, allocations: 284 kB / 0.5112 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.4501, allocations: 32 kB / 0.5112 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/0.4509, allocations: 87.86 kB / 0.5113 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.4512, allocations: 121 kB / 0.5114 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.4513, allocations: 47.97 kB / 0.5115 GB, free: 7.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004994/0.4518, allocations: 403.1 kB / 0.5119 GB, free: 6.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4518, allocations: 0 / 0.5119 GB, free: 6.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002018/0.4538, allocations: 0.6562 MB / 0.5125 GB, free: 6.043 MB / 398.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,40), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.4541, allocations: 151.7 kB / 0.5127 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005341/0.4594, allocations: 3.358 MB / 0.5159 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.4594, allocations: 4 kB / 0.5159 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.4615, allocations: 1.319 MB / 0.5172 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.4627, allocations: 183.4 kB / 0.5174 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2598/0.7226, allocations: 3.387 MB / 0.5207 GB, free: 83.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7238, allocations: 1.263 MB / 0.5219 GB, free: 82.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.7243, allocations: 92.56 kB / 0.522 GB, free: 82.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.353e-06/0.7243, allocations: 0 / 0.522 GB, free: 82.8 MB / 398.1 MB Notification: Performance of Templates: time 0.03668/0.761, allocations: 23.27 MB / 0.5448 GB, free: 69.5 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlled.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.NetworkControlledCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkControlledCalcHelperMain.o] Error 1