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.001007/0.001007, allocations: 91.47 kB / 17.31 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.001238/0.001238, allocations: 177.5 kB / 18.21 MB, free: 5.191 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.386/1.386, allocations: 223.2 MB / 242.2 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1806/0.1806, allocations: 38.09 MB / 331.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003229, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 59.18 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkControlled): time 0.01028/0.134, allocations: 9.367 MB / 469.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.1424, allocations: 5.488 MB / 475.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1437, allocations: 35.75 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.1444, allocations: 186.6 kB / 475.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.1478, allocations: 1.289 MB / 476.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.1495, allocations: 0.5419 MB / 477.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.1533, allocations: 3.197 MB / 480.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.1561, allocations: 1.556 MB / 482.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1577, allocations: 0.649 MB / 482.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.1591, allocations: 0.8796 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1593, allocations: 56 kB / 483.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.1623, allocations: 1.839 MB / 485.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.1629, allocations: 0.5141 MB / 486.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.1636, allocations: 0.6 MB / 486.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1657, allocations: 1.497 MB / 488.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1657, allocations: 0 / 488.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1658, allocations: 3.938 kB / 488.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1658, allocations: 0 / 488.2 MB, free: 11.2 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.002827/0.1686, allocations: 1.439 MB / 489.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1687, allocations: 8.031 kB / 489.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/0.1721, allocations: 494.7 kB / 490.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1732, allocations: 0.6666 MB / 490.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.1733, allocations: 86.47 kB / 490.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1735, allocations: 108.4 kB / 491 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.1761, allocations: 1.62 MB / 492.6 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.1761, allocations: 7.906 kB / 492.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.1763, allocations: 51.98 kB / 492.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.1764, allocations: 90.22 kB / 492.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.1791, allocations: 1.66 MB / 494.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007579/0.1867, allocations: 4.988 MB / 499.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.189, allocations: 1.358 MB / 0.4891 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.1902, allocations: 0.8096 MB / 0.4898 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.04e-05/0.1903, allocations: 20.98 kB / 0.4899 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/0.1917, allocations: 0.8646 MB / 0.4907 GB, free: 12.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 2.816e-06/0.1917, allocations: 0 / 0.4907 GB, free: 12.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01404/0.2057, allocations: 6.451 MB / 0.497 GB, free: 6.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.2059, allocations: 116.1 kB / 0.4971 GB, free: 5.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.2067, allocations: 0.5665 MB / 0.4977 GB, free: 5.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/0.2068, allocations: 49.7 kB / 0.4977 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.2072, allocations: 472.2 kB / 0.4982 GB, free: 4.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.2076, allocations: 473.2 kB / 0.4986 GB, free: 4.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2078, allocations: 109.7 kB / 0.4987 GB, free: 4.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.208, allocations: 402.7 kB / 0.4991 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.2092, allocations: 0.6233 MB / 0.4997 GB, free: 3.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.2104, allocations: 0.7949 MB / 0.5005 GB, free: 2.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.2128, allocations: 1.534 MB / 0.502 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2128, allocations: 0 / 0.502 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.2446/0.4574, allocations: 2.118 MB / 0.5041 GB, free: 55.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4576, allocations: 207.7 kB / 0.5043 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4576, allocations: 4.109 kB / 0.5043 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.4589, allocations: 448.4 kB / 0.5047 GB, free: 54.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4601, allocations: 268.4 kB / 0.5049 GB, free: 54.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.4696, allocations: 6.291 MB / 0.5111 GB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4709, allocations: 90.69 kB / 0.5112 GB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.471, allocations: 56.36 kB / 0.5112 GB, free: 51.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4711, allocations: 3.031 kB / 0.5112 GB, free: 51.26 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003872/0.4749, allocations: 1.928 MB / 0.5131 GB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.475, allocations: 4.406 kB / 0.5131 GB, free: 50.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.4762, allocations: 437.4 kB / 0.5135 GB, free: 50.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4775, allocations: 265.1 kB / 0.5138 GB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/0.4855, allocations: 6.046 MB / 0.5197 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4868, allocations: 79.75 kB / 0.5198 GB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4869, allocations: 57.56 kB / 0.5198 GB, free: 46.3 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.0007979/0.4877, allocations: 432.1 kB / 0.5202 GB, free: 46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.4879, allocations: 98.92 kB / 0.5203 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/0.4926, allocations: 2.193 MB / 0.5225 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.4926, allocations: 15.16 kB / 0.5225 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4926, allocations: 4.906 kB / 0.5225 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.4927, allocations: 8.312 kB / 0.5225 GB, free: 45.11 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.006816/0.4995, allocations: 3.982 MB / 0.5264 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4995, allocations: 2.75 kB / 0.5264 GB, free: 43.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/0.5004, allocations: 224 kB / 0.5266 GB, free: 43.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.5019, allocations: 0.5133 MB / 0.5271 GB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.489e-05/0.5019, allocations: 39.73 kB / 0.5271 GB, free: 43.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007393/0.5093, allocations: 6.528 MB / 0.5335 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5094, allocations: 7.625 kB / 0.5335 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/0.5141, allocations: 3.138 MB / 0.5366 GB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.5146, allocations: 294.9 kB / 0.5369 GB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.5148, allocations: 31.38 kB / 0.5369 GB, free: 35.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/0.5155, allocations: 79.92 kB / 0.537 GB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5157, allocations: 125.1 kB / 0.5371 GB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/0.5158, allocations: 52.05 kB / 0.5371 GB, free: 34.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.5163, allocations: 395.1 kB / 0.5375 GB, free: 34.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5163, allocations: 0 / 0.5375 GB, free: 34.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002165/0.5184, allocations: 0.6602 MB / 0.5382 GB, free: 33.71 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 (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.0002154/0.5187, allocations: 135.6 kB / 0.5383 GB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004661/0.5233, allocations: 3.368 MB / 0.5416 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5233, allocations: 4 kB / 0.5416 GB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.5251, allocations: 1.322 MB / 0.5429 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5263, allocations: 179.1 kB / 0.5431 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.5303, allocations: 3.392 MB / 0.5464 GB, free: 25.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.531, allocations: 1.259 MB / 0.5476 GB, free: 23.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.5314, allocations: 87.39 kB / 0.5477 GB, free: 23.78 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5314, allocations: 4 kB / 0.5477 GB, free: 23.78 MB / 382.1 MB Notification: Performance of Templates: time 0.02224/0.5536, allocations: 23.2 MB / 0.5703 GB, free: 0.543 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++ -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.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