Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008351, allocations: 95.62 kB / 16.37 MB, free: 6.422 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.0008511/0.0008512, allocations: 183.8 kB / 17.27 MB, free: 6.262 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.455/1.455, allocations: 223.3 MB / 241.3 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06264/0.06264, allocations: 8.095 MB / 300.5 MB, free: 6.547 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 8 kB / 363.5 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 52.51 MB / 416 MB, free: 25.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.004255/0.2952, allocations: 5.667 MB / 421.7 MB, free: 19.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.2994, allocations: 2.404 MB / 424.1 MB, free: 17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006435/0.3001, allocations: 20 kB / 424.1 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.3007, allocations: 214.7 kB / 424.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3022, allocations: 0.6245 MB / 424.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.3044, allocations: 1.264 MB / 426.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.3062, allocations: 1.494 MB / 427.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.3068, allocations: 430.2 kB / 428.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.3073, allocations: 0.5449 MB / 428.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.308, allocations: 0.6925 MB / 429.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.3082, allocations: 76 kB / 429.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.3089, allocations: 327.7 kB / 429.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3091, allocations: 262.9 kB / 430 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3093, allocations: 285 kB / 430.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3105, allocations: 1.562 MB / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3105, allocations: 0 / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3105, allocations: 0 / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3106, allocations: 0 / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01263/0.3232, allocations: 3.471 MB / 435.3 MB, free: 5.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3232, allocations: 8.031 kB / 435.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007292/0.324, allocations: 162.3 kB / 435.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3253, allocations: 0.8152 MB / 436.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3255, allocations: 320.1 kB / 436.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3256, allocations: 120 kB / 436.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.3287, allocations: 1.815 MB / 438.5 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.3287, allocations: 3.984 kB / 438.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.3288, allocations: 48 kB / 438.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3289, allocations: 31.89 kB / 438.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.3312, allocations: 1.718 MB / 440.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.3417, allocations: 7.063 MB / 447.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.3458, allocations: 3.874 MB / 451.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.3476, allocations: 1.169 MB / 452.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.3478, allocations: 37.25 kB / 452.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/0.3501, allocations: 1.322 MB / 453.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 5.16e-06/0.3501, allocations: 3.938 kB / 453.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=167): time 0.03077/0.3809, allocations: 8.836 MB / 462.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.381, allocations: 120.8 kB / 462.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3823, allocations: 0.7309 MB / 463.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/0.3826, allocations: 73.7 kB / 463.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.3831, allocations: 425.5 kB / 464 MB, free: 7.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006445/0.3837, allocations: 0.5313 MB / 464.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3838, allocations: 40 kB / 464.5 MB, free: 7.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002918/0.3841, allocations: 422.7 kB / 465 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.3861, allocations: 1.113 MB / 466.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.3882, allocations: 1.277 MB / 467.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.3902, allocations: 1.193 MB / 468.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3902, allocations: 3.953 kB / 468.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007541/0.3978, allocations: 3.792 MB / 472.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.3978, allocations: 6.344 kB / 472.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/0.3979, allocations: 3.984 kB / 472.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01358/0.4115, allocations: 5.145 MB / 477.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4127, allocations: 263.6 kB / 477.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.4195, allocations: 3.409 MB / 481.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.4214, allocations: 194.2 kB / 481.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.4216, allocations: 67.97 kB / 481.4 MB, free: 6.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {40 44} Notification: Performance of prepare postOptimizeDAE: time 0.000758/0.4223, allocations: 352.4 kB / 481.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.4226, allocations: 118.6 kB / 481.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005607/0.4282, allocations: 3.346 MB / 485.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.4283, allocations: 24 kB / 485.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4283, allocations: 3.938 kB / 485.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.4283, allocations: 7.969 kB / 485.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/0.437, allocations: 5.722 MB / 491 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.437, allocations: 0 / 491 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.4375, allocations: 155.8 kB / 491.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01213/0.4497, allocations: 3.84 MB / 495 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/0.4501, allocations: 39.98 kB / 495 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/0.4567, allocations: 3.463 MB / 498.5 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4568, allocations: 7.953 kB / 498.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.4621, allocations: 3.206 MB / 0.4899 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.4626, allocations: 235.1 kB / 0.4901 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.4628, allocations: 32 kB / 0.4902 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.4641, allocations: 144.3 kB / 0.4903 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.4644, allocations: 129.7 kB / 0.4904 GB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.4646, allocations: 59.98 kB / 0.4905 GB, free: 1.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.4653, allocations: 499 kB / 0.491 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4653, allocations: 4 kB / 0.491 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4666, allocations: 455.5 kB / 0.4914 GB, free: 452 kB / 366.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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {40 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003789/0.467, allocations: 176.7 kB / 0.4916 GB, free: 264 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007002/0.474, allocations: 3.143 MB / 0.4946 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.474, allocations: 5.688 kB / 0.4947 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004664/0.4787, allocations: 1.778 MB / 0.4964 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4798, allocations: 158.8 kB / 0.4965 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.4846, allocations: 3.051 MB / 0.4995 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.4853, allocations: 1.085 MB / 0.5006 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.4857, allocations: 111.4 kB / 0.5007 GB, free: 6.887 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4857, allocations: 0 / 0.5007 GB, free: 6.887 MB / 382.1 MB Notification: Performance of Templates: time 0.2639/0.7497, allocations: 24.67 MB / 0.5248 GB, free: 85.01 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.StructuredNetwork.DoubleNetworkWithVariableLoadsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoadsCalcHelperMain.o] Error 1