Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 93.08 kB / 16.37 MB, free: 5.961 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.0008655/0.0008656, allocations: 190 kB / 17.27 MB, free: 5.84 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.513/1.513, allocations: 223.2 MB / 241.3 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06165/0.06165, allocations: 8.107 MB / 300.5 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 12 kB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 52.51 MB / 416 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003985/0.3195, allocations: 5.002 MB / 421 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.3238, allocations: 2.227 MB / 423.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.3244, allocations: 16 kB / 423.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.325, allocations: 194.8 kB / 423.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.3261, allocations: 0.5244 MB / 424 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.3281, allocations: 1.182 MB / 425.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.3296, allocations: 1.17 MB / 426.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.3301, allocations: 320.1 kB / 426.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004475/0.3306, allocations: 470.1 kB / 427.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3312, allocations: 0.6224 MB / 427.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/0.3313, allocations: 56 kB / 427.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.332, allocations: 279.8 kB / 428 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.3321, allocations: 203 kB / 428.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3323, allocations: 229.1 kB / 428.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007924/0.3331, allocations: 1.021 MB / 429.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3331, allocations: 0 / 429.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3331, allocations: 4 kB / 429.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.3331, allocations: 0 / 429.5 MB, free: 11.43 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01002/0.3431, allocations: 2.994 MB / 432.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3432, allocations: 8.031 kB / 432.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.3437, allocations: 134.5 kB / 432.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3447, allocations: 0.6552 MB / 433.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.3448, allocations: 70 kB / 433.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3449, allocations: 100 kB / 433.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.347, allocations: 1.341 MB / 434.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.3471, allocations: 0 / 434.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3472, allocations: 36 kB / 434.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.3472, allocations: 23.95 kB / 434.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.3489, allocations: 1.269 MB / 436.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00628/0.3552, allocations: 5.273 MB / 441.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.3589, allocations: 3.1 MB / 444.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3604, allocations: 0.9809 MB / 445.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.3606, allocations: 41.19 kB / 445.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.635e-05/0.3608, allocations: 56.11 kB / 445.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=147): time 4.769e-06/0.3608, allocations: 0 / 445.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=147): time 0.02521/0.386, allocations: 6.96 MB / 452.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3861, allocations: 120.1 kB / 452.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3872, allocations: 0.6331 MB / 453.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.3875, allocations: 61.7 kB / 453.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.3878, allocations: 330.4 kB / 453.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/0.3883, allocations: 0.4927 MB / 454.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.3884, allocations: 36 kB / 454.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.3886, allocations: 410.7 kB / 454.6 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.39, allocations: 0.8551 MB / 455.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3914, allocations: 0.9729 MB / 456.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.3929, allocations: 0.9316 MB / 457.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.3929, allocations: 3.953 kB / 457.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009475/0.4024, allocations: 3.804 MB / 461.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.4025, allocations: 11.95 kB / 461.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4025, allocations: 0 / 461.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.4131, allocations: 4.036 MB / 465.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.4142, allocations: 227.7 kB / 465.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/0.4358, allocations: 10.4 MB / 475.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.4371, allocations: 138.5 kB / 475.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4372, allocations: 55.98 kB / 476 MB, free: 11.81 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 (135): * Single equations (assignments): 134 * 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 {32 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005241/0.4378, allocations: 262.2 kB / 476.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.438, allocations: 110.6 kB / 476.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/0.4475, allocations: 3.789 MB / 480.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4475, allocations: 16 kB / 480.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4475, allocations: 3.953 kB / 480.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.4475, allocations: 15.91 kB / 480.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.4594, allocations: 5.301 MB / 485.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.4594, allocations: 3.938 kB / 485.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/0.4601, allocations: 179.7 kB / 485.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009673/0.4698, allocations: 2.739 MB / 488.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003597/0.4702, allocations: 39.94 kB / 488.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/0.4906, allocations: 10.21 MB / 498.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4907, allocations: 0 / 498.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00882/0.4995, allocations: 3.659 MB / 0.4905 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.5, allocations: 199.3 kB / 0.4907 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5002, allocations: 28 kB / 0.4908 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/0.5011, allocations: 113.6 kB / 0.4909 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/0.5016, allocations: 126.4 kB / 0.491 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.5017, allocations: 55.94 kB / 0.491 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007072/0.5025, allocations: 431 kB / 0.4915 GB, free: 280 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5025, allocations: 0 / 0.4915 GB, free: 280 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001663/0.5041, allocations: 0.5388 MB / 0.492 GB, free: 15.73 MB / 382.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 (106): * Single equations (assignments): 105 * 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 {32 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.5045, allocations: 151.6 kB / 0.4921 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007368/0.5118, allocations: 3.1 MB / 0.4952 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5119, allocations: 0.6562 kB / 0.4952 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005573/0.5175, allocations: 2.043 MB / 0.4971 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5186, allocations: 139 kB / 0.4973 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.5229, allocations: 2.554 MB / 0.4998 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.5236, allocations: 1.088 MB / 0.5008 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.524, allocations: 95.41 kB / 0.5009 GB, free: 6.488 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.524, allocations: 4 kB / 0.5009 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Templates: time 0.2946/0.8186, allocations: 22.52 MB / 0.5229 GB, free: 84.35 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetworkCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetworkCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetworkCalcHelperMain.o] Error 1