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.0008476/0.0008477, allocations: 92.33 kB / 16.95 MB, free: 5.953 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.0008871/0.0008872, allocations: 178.7 kB / 17.84 MB, free: 5.617 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.707/1.707, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.192/0.192, allocations: 38.06 MB / 310.3 MB, free: 6.023 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.0005177/0.0005177, allocations: 20 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3358, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004637/0.3405, allocations: 4.711 MB / 438.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3428, allocations: 1.474 MB / 439.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.3431, allocations: 23.81 kB / 439.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3434, allocations: 107.3 kB / 439.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.344, allocations: 254.7 kB / 440 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3443, allocations: 175.6 kB / 440.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.3448, allocations: 0.6386 MB / 440.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007449/0.3456, allocations: 0.5395 MB / 441.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.3458, allocations: 207 kB / 441.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3462, allocations: 259.1 kB / 441.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3462, allocations: 16 kB / 441.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3464, allocations: 87.8 kB / 441.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3466, allocations: 167.5 kB / 442.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.3466, allocations: 97.52 kB / 442.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.347, allocations: 407 kB / 442.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.347, allocations: 0 / 442.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.347, allocations: 7.938 kB / 442.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.347, allocations: 0 / 442.6 MB, free: 9.621 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.0007991/0.3478, allocations: 0.6366 MB / 443.2 MB, free: 8.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3478, allocations: 8.031 kB / 443.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.3484, allocations: 87.33 kB / 443.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.3489, allocations: 391 kB / 443.7 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3489, allocations: 28.94 kB / 443.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.349, allocations: 47.97 kB / 443.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.3496, allocations: 472.8 kB / 444.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3496, allocations: 3.938 kB / 444.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3497, allocations: 16 kB / 444.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.802e-05/0.3497, allocations: 28.98 kB / 444.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.3502, allocations: 343.7 kB / 444.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.3518, allocations: 1.644 MB / 446.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3521, allocations: 173.1 kB / 446.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3523, allocations: 109.7 kB / 446.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3523, allocations: 7.953 kB / 446.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3523, allocations: 38.56 kB / 446.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.3524, allocations: 0 / 446.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.001173/0.3535, allocations: 0.7883 MB / 447.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.3536, allocations: 77.23 kB / 447.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3539, allocations: 300.6 kB / 447.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3539, allocations: 29.7 kB / 447.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.354, allocations: 259.5 kB / 448.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.3541, allocations: 71 kB / 448.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.3541, allocations: 4 kB / 448.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.3542, allocations: 342.8 kB / 448.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3543, allocations: 95.94 kB / 448.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3545, allocations: 196.7 kB / 448.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3547, allocations: 135.9 kB / 448.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3547, allocations: 3.938 kB / 448.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006281/0.3553, allocations: 434.2 kB / 449.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3554, allocations: 8 kB / 449.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003871/0.3558, allocations: 257.1 kB / 449.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.3561, allocations: 80.78 kB / 449.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3563, allocations: 67.84 kB / 449.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.3574, allocations: 1.585 MB / 451.3 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3576, allocations: 12 kB / 451.3 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3576, allocations: 15.98 kB / 451.3 MB, free: 372 kB / 318.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 (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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.3578, allocations: 193.6 kB / 451.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3579, allocations: 31.64 kB / 451.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.3583, allocations: 273.7 kB / 451.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3583, allocations: 4 kB / 451.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3583, allocations: 0 / 451.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3583, allocations: 0 / 451.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3595, allocations: 0.7732 MB / 452.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3595, allocations: 0 / 452.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3598, allocations: 47.98 kB / 452.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3598, allocations: 0 / 452.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3598, allocations: 11.98 kB / 452.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3598, allocations: 7.938 kB / 452.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3598, allocations: 0 / 452.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.3604, allocations: 453.5 kB / 453.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.3605, allocations: 104.7 kB / 453.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.3605, allocations: 4 kB / 453.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3607, allocations: 8.031 kB / 453.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3607, allocations: 19.92 kB / 453.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3607, allocations: 4 kB / 453.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.361, allocations: 223 kB / 453.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.361, allocations: 4 kB / 453.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004093/0.3614, allocations: 80 kB / 453.5 MB, free: 14.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001263/0.3615, allocations: 103.2 kB / 453.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.3622, allocations: 383.2 kB / 454 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3622, allocations: 0 / 454 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3624, allocations: 99.83 kB / 454.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.3628, allocations: 61.34 kB / 454.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3646, allocations: 1.178 MB / 455.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3651, allocations: 0.8502 MB / 456.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.3653, allocations: 31.42 kB / 456.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3653, allocations: 3.938 kB / 456.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Templates: time 0.008008/0.3733, allocations: 5.215 MB / 461.4 MB, free: 6.027 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++ 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 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