Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001109, allocations: 93.31 kB / 16.37 MB, free: 5.969 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.001588/0.001589, allocations: 177.2 kB / 17.27 MB, free: 5.824 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.489/1.489, allocations: 223.2 MB / 241.3 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2557/0.2557, allocations: 8.091 MB / 300.5 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 12 kB / 363.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 52.51 MB / 416 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004087/0.1412, allocations: 3.196 MB / 419.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1446, allocations: 1.855 MB / 421.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.1448, allocations: 12 kB / 421.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1453, allocations: 147.2 kB / 421.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007967/0.1461, allocations: 330 kB / 421.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.1483, allocations: 1.071 MB / 422.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.1493, allocations: 0.7073 MB / 423.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.1498, allocations: 198 kB / 423.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.15, allocations: 286.8 kB / 423.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.1507, allocations: 378.4 kB / 424.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.1507, allocations: 36 kB / 424.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.1513, allocations: 255.8 kB / 424.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1515, allocations: 127.4 kB / 424.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3217/0.4731, allocations: 143 kB / 424.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.4751, allocations: 0.6638 MB / 425.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.4751, allocations: 2.578 kB / 425.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4752, allocations: 5.781 kB / 425.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4752, allocations: 0 / 425.4 MB, free: 35.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.01026/0.4854, allocations: 2.029 MB / 427.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/0.4855, allocations: 11.47 kB / 427.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.486, allocations: 85.52 kB / 427.5 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.4868, allocations: 463.2 kB / 427.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.4868, allocations: 48.92 kB / 428 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.4869, allocations: 57.88 kB / 428.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.4882, allocations: 0.8357 MB / 428.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4882, allocations: 0 / 428.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.4883, allocations: 22.88 kB / 428.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.4883, allocations: 13.22 kB / 428.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.4894, allocations: 0.785 MB / 429.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.4932, allocations: 3.349 MB / 433.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.4947, allocations: 1.357 MB / 434.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/0.4954, allocations: 0.5837 MB / 435 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4955, allocations: 23.78 kB / 435 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4956, allocations: 52.5 kB / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.336e-06/0.4956, allocations: 0 / 435.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01191/0.5075, allocations: 3.908 MB / 439 MB, free: 31.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.5076, allocations: 117.4 kB / 439.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.5082, allocations: 428.5 kB / 439.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.5084, allocations: 50.33 kB / 439.6 MB, free: 31.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5085, allocations: 237 kB / 439.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.5088, allocations: 301 kB / 440.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.5088, allocations: 17.59 kB / 440.1 MB, free: 31.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5089, allocations: 381.9 kB / 440.5 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.5097, allocations: 0.5309 MB / 441 MB, free: 30.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.5105, allocations: 0.6144 MB / 441.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.5113, allocations: 0.5834 MB / 442.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5113, allocations: 0 / 442.2 MB, free: 30.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005275/0.5166, allocations: 2.378 MB / 444.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5166, allocations: 8.25 kB / 444.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5166, allocations: 0 / 444.6 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/0.5223, allocations: 1.775 MB / 446.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.5231, allocations: 148.8 kB / 446.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.534, allocations: 6.708 MB / 453.2 MB, free: 25.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.5349, allocations: 95.86 kB / 453.3 MB, free: 25.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.535, allocations: 32.27 kB / 453.3 MB, free: 25.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.5353, allocations: 204 kB / 453.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.5354, allocations: 61.75 kB / 453.6 MB, free: 25.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/0.5406, allocations: 2.328 MB / 455.9 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5407, allocations: 13.19 kB / 455.9 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5407, allocations: 0 / 455.9 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5407, allocations: 10.75 kB / 456 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00593/0.5466, allocations: 3.314 MB / 459.3 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5467, allocations: 0 / 459.3 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.547, allocations: 107.7 kB / 459.4 MB, free: 22.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/0.5522, allocations: 1.509 MB / 460.9 MB, free: 22.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5523, allocations: 25.3 kB / 460.9 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.5638, allocations: 6.58 MB / 467.5 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5638, allocations: 0 / 467.5 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/0.5706, allocations: 2.272 MB / 469.8 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.5709, allocations: 161.2 kB / 469.9 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.571, allocations: 22.38 kB / 469.9 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.5716, allocations: 67 kB / 470 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.572, allocations: 75.78 kB / 470.1 MB, free: 17.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/0.5721, allocations: 31.36 kB / 470.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003941/0.5725, allocations: 285.4 kB / 470.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5725, allocations: 0 / 470.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5737, allocations: 341.8 kB / 470.7 MB, free: 17.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.574, allocations: 141.6 kB / 470.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004504/0.5785, allocations: 1.923 MB / 472.8 MB, free: 16.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5785, allocations: 1.938 kB / 472.8 MB, free: 16.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.5816, allocations: 1.252 MB / 474 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.5823, allocations: 76.25 kB / 474.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.5848, allocations: 1.619 MB / 475.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5853, allocations: 0.922 MB / 476.7 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5855, allocations: 64.09 kB / 476.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5855, allocations: 2.297 kB / 476.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Templates: time 0.02261/0.6081, allocations: 14.06 MB / 490.8 MB, free: 7.379 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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 OMCppPowerSysPro_PowerSysPro.Examples.MediumNetworks.NetworkCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.MediumNetworks.NetworkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.MediumNetworks.NetworkCalcHelperMain.o] Error 1