Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.0008222, allocations: 95.66 kB / 16.37 MB, free: 5.988 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.0008728/0.0008729, allocations: 185.5 kB / 17.27 MB, free: 5.82 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.501/1.501, allocations: 223.2 MB / 241.3 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2991/0.2991, allocations: 8.089 MB / 300.5 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 363.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 52.51 MB / 416 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005233/0.1334, allocations: 5.187 MB / 421.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.138, allocations: 2.33 MB / 423.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.1386, allocations: 16 kB / 423.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.1393, allocations: 206.7 kB / 423.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.1406, allocations: 0.5204 MB / 424.3 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2419/0.3824, allocations: 1.191 MB / 425.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.3843, allocations: 1.291 MB / 426.7 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.3849, allocations: 391.9 kB / 427.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006968/0.3856, allocations: 492.2 kB / 427.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.3865, allocations: 0.6244 MB / 428.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.3866, allocations: 62.31 kB / 428.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.3874, allocations: 294.9 kB / 428.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3876, allocations: 214.6 kB / 428.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.3879, allocations: 261.7 kB / 429 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3892, allocations: 1.375 MB / 430.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3893, allocations: 0 / 430.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3893, allocations: 0 / 430.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3893, allocations: 4 kB / 430.4 MB, free: 34.59 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01067/0.4, allocations: 3.04 MB / 433.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4, allocations: 8.875 kB / 433.5 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.4006, allocations: 144 kB / 433.6 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.4018, allocations: 0.7365 MB / 434.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.4019, allocations: 83.2 kB / 434.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.4021, allocations: 100.1 kB / 434.5 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.4043, allocations: 1.51 MB / 436 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.4043, allocations: 0.875 kB / 436 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4045, allocations: 39.31 kB / 436.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.4045, allocations: 23.12 kB / 436.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.4065, allocations: 1.469 MB / 437.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006894/0.4134, allocations: 6.054 MB / 443.6 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.4166, allocations: 3.747 MB / 447.4 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.4181, allocations: 1.101 MB / 448.5 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.4183, allocations: 32.08 kB / 448.5 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.4184, allocations: 56.75 kB / 448.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 4.609e-06/0.4184, allocations: 7.312 kB / 448.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.02812/0.4465, allocations: 8.137 MB / 456.7 MB, free: 24.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4467, allocations: 123.5 kB / 456.8 MB, free: 24.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4478, allocations: 0.6626 MB / 457.5 MB, free: 24.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003879/0.4482, allocations: 59.48 kB / 457.5 MB, free: 24.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.4484, allocations: 346.7 kB / 457.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.4489, allocations: 0.5015 MB / 458.4 MB, free: 23.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.449, allocations: 30.22 kB / 458.4 MB, free: 23.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4492, allocations: 407.9 kB / 458.8 MB, free: 23.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4505, allocations: 0.9576 MB / 459.8 MB, free: 22.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.452, allocations: 1.08 MB / 460.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.4534, allocations: 1.06 MB / 461.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4534, allocations: 3.938 kB / 461.9 MB, free: 21.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009808/0.4632, allocations: 4.088 MB / 466 MB, free: 19.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.4633, allocations: 6.844 kB / 466 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.4634, allocations: 3.953 kB / 466 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.4762, allocations: 4.23 MB / 470.2 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.4775, allocations: 225.5 kB / 470.5 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.5016, allocations: 11.94 MB / 482.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5031, allocations: 136.7 kB / 482.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.5032, allocations: 59.19 kB / 482.6 MB, free: 12.22 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.0006539/0.5039, allocations: 303.1 kB / 482.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.5041, allocations: 109.4 kB / 483 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/0.5138, allocations: 4.081 MB / 487.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.5139, allocations: 18.69 kB / 487.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5139, allocations: 0 / 487.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.5139, allocations: 9.203 kB / 487.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5254, allocations: 5.998 MB / 493.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.5255, allocations: 0 / 493.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.5261, allocations: 175.7 kB / 493.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008919/0.535, allocations: 2.903 MB / 496.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.5354, allocations: 32 kB / 496.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/0.5572, allocations: 11.73 MB / 0.496 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5573, allocations: 0 / 0.496 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.5675, allocations: 3.933 MB / 0.4999 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.5681, allocations: 203.4 kB / 0.5001 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.5684, allocations: 28 kB / 0.5001 GB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.5695, allocations: 114.7 kB / 0.5002 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006952/0.5702, allocations: 138.3 kB / 0.5003 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.5703, allocations: 48 kB / 0.5004 GB, free: 1.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.5711, allocations: 455 kB / 0.5008 GB, free: 1.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5711, allocations: 0 / 0.5008 GB, free: 1.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002514/0.5737, allocations: 0.5581 MB / 0.5014 GB, free: 0.5234 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.00043/0.5741, allocations: 157.5 kB / 0.5015 GB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007735/0.5819, allocations: 3.355 MB / 0.5048 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5819, allocations: 4.656 kB / 0.5048 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/0.5873, allocations: 2.18 MB / 0.5069 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5885, allocations: 152.4 kB / 0.5071 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.5934, allocations: 2.795 MB / 0.5098 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.5943, allocations: 1.096 MB / 0.5109 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.5947, allocations: 99.39 kB / 0.511 GB, free: 6.625 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5947, allocations: 0 / 0.511 GB, free: 6.625 MB / 382.1 MB Notification: Performance of Templates: time 0.0395/0.6342, allocations: 25.16 MB / 0.5355 GB, free: 13.5 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.DoubleNetworkWithLoadsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoadsCalcHelperMain.o] Error 1