Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 107.8 kB / 17.16 MB, free: 6.082 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.0008657/0.0008657, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1558/0.1558, allocations: 38 MB / 309.3 MB, free: 6.219 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 68.45 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1927, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004337/0.1971, allocations: 5.355 MB / 435.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1986, allocations: 1.579 MB / 437.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1988, allocations: 27.81 kB / 437.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.1996, allocations: 392.8 kB / 437.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1999, allocations: 215 kB / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.2002, allocations: 155.7 kB / 438.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.2006, allocations: 0.7947 MB / 439 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.2009, allocations: 329.4 kB / 439.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2011, allocations: 215.1 kB / 439.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.2014, allocations: 291 kB / 439.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.2015, allocations: 20 kB / 439.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.2017, allocations: 135.7 kB / 440 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2018, allocations: 187.4 kB / 440.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.202, allocations: 214.9 kB / 440.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.2022, allocations: 407.1 kB / 440.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2022, allocations: 0 / 440.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2022, allocations: 4 kB / 440.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2023, allocations: 0 / 440.8 MB, free: 9.488 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008113/0.2031, allocations: 0.7068 MB / 441.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2031, allocations: 8.031 kB / 441.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.2037, allocations: 88.3 kB / 441.6 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.2041, allocations: 403.9 kB / 442 MB, free: 8.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2041, allocations: 29.38 kB / 442 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2042, allocations: 52.09 kB / 442 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2048, allocations: 476.8 kB / 442.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2048, allocations: 0 / 442.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2048, allocations: 12 kB / 442.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.414e-05/0.2049, allocations: 28.98 kB / 442.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.2053, allocations: 339.7 kB / 442.9 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.2069, allocations: 1.637 MB / 444.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.2071, allocations: 177 kB / 444.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2072, allocations: 113.7 kB / 444.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2073, allocations: 7.984 kB / 444.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.2073, allocations: 42.44 kB / 444.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.2073, allocations: 0 / 444.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009596/0.2083, allocations: 0.7825 MB / 445.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.2083, allocations: 77.11 kB / 445.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.2085, allocations: 300.5 kB / 446 MB, free: 3.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2085, allocations: 33.7 kB / 446 MB, free: 3.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.2086, allocations: 255.4 kB / 446.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.2087, allocations: 70.98 kB / 446.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.2087, allocations: 69.72 kB / 446.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.2088, allocations: 342.8 kB / 446.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2089, allocations: 95.94 kB / 446.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.2091, allocations: 212.5 kB / 447.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.2094, allocations: 329.5 kB / 447.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2094, allocations: 3.984 kB / 447.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006214/0.21, allocations: 425.7 kB / 447.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.21, allocations: 8 kB / 447.8 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003957/0.2104, allocations: 264.4 kB / 448.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000285/0.2107, allocations: 76.78 kB / 448.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.2109, allocations: 63.91 kB / 448.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.212, allocations: 1.597 MB / 449.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2122, allocations: 8 kB / 449.8 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2122, allocations: 16 kB / 449.8 MB, free: 15.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.2124, allocations: 197.6 kB / 450 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.2125, allocations: 35.62 kB / 450.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.2128, allocations: 268.6 kB / 450.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2129, allocations: 4 kB / 450.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2129, allocations: 0 / 450.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2129, allocations: 0 / 450.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009902/0.2139, allocations: 0.7536 MB / 451.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2139, allocations: 4 kB / 451.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2141, allocations: 47.98 kB / 451.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2142, allocations: 0 / 451.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2142, allocations: 11.98 kB / 451.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.2142, allocations: 0 / 451.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2142, allocations: 11.88 kB / 451.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.2147, allocations: 445.5 kB / 451.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.2148, allocations: 108.7 kB / 451.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.2148, allocations: 7.906 kB / 451.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.215, allocations: 15.97 kB / 451.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.215, allocations: 15.98 kB / 451.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.215, allocations: 4 kB / 451.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.2152, allocations: 227 kB / 452 MB, free: 13.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2152, allocations: 0 / 452 MB, free: 13.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.2156, allocations: 84 kB / 452 MB, free: 13.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.899e-05/0.2157, allocations: 95.25 kB / 452.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.2162, allocations: 382.7 kB / 452.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2162, allocations: 0 / 452.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2164, allocations: 107.8 kB / 452.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.2168, allocations: 66.16 kB / 452.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2181, allocations: 1.119 MB / 453.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.2185, allocations: 0.8502 MB / 454.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.2186, allocations: 27.44 kB / 454.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2186, allocations: 0 / 454.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Templates: time 0.006305/0.2249, allocations: 5.243 MB / 459.9 MB, free: 5.539 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransferCalcHelperMain.o] Error 1