Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000792/0.0007921, allocations: 94.59 kB / 16.96 MB, free: 6.41 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.0008276/0.0008276, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.61/1.61, 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.1687/0.1687, allocations: 38.04 MB / 310.3 MB, free: 6.035 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.0005283/0.0005284, allocations: 20.2 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3007, allocations: 56.33 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004053/0.3048, allocations: 4.595 MB / 438.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.307, allocations: 1.677 MB / 439.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.3073, allocations: 23.88 kB / 439.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.3075, allocations: 87.31 kB / 439.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.3081, allocations: 290.5 kB / 440.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.3087, allocations: 243.6 kB / 440.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.3092, allocations: 0.7209 MB / 441.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005869/0.3098, allocations: 446.9 kB / 441.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.31, allocations: 215 kB / 441.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.3105, allocations: 327 kB / 442.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.3105, allocations: 20 kB / 442.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.3108, allocations: 95.84 kB / 442.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.311, allocations: 203.5 kB / 442.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3111, allocations: 109.5 kB / 442.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.3115, allocations: 450.9 kB / 442.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3115, allocations: 0 / 442.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3115, allocations: 0 / 442.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3115, allocations: 0 / 442.9 MB, free: 9.328 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001007/0.3126, allocations: 0.6879 MB / 443.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3126, allocations: 8.031 kB / 443.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/0.3131, allocations: 95.23 kB / 443.7 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.3136, allocations: 386.9 kB / 444.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3136, allocations: 36.98 kB / 444.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3137, allocations: 51.97 kB / 444.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.3144, allocations: 0.656 MB / 444.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3145, allocations: 7.938 kB / 444.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.3145, allocations: 19.98 kB / 444.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.3146, allocations: 48.95 kB / 444.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.3152, allocations: 495.5 kB / 445.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3176, allocations: 3.148 MB / 448.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.318, allocations: 249.9 kB / 448.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3181, allocations: 122 kB / 448.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3181, allocations: 12.17 kB / 448.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3182, allocations: 42.67 kB / 448.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.3182, allocations: 0 / 448.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001154/0.3193, allocations: 0.8947 MB / 449.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3194, allocations: 85.05 kB / 449.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3197, allocations: 332.5 kB / 450.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3197, allocations: 33.69 kB / 450.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3198, allocations: 291 kB / 450.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.3199, allocations: 94.67 kB / 450.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.3199, allocations: 12 kB / 450.7 MB, free: 1.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.32, allocations: 346.8 kB / 451 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3201, allocations: 128.8 kB / 451.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3204, allocations: 317.2 kB / 451.4 MB, free: 240 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.3206, allocations: 195.8 kB / 451.6 MB, free: 44 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3206, allocations: 0 / 451.6 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001001/0.3216, allocations: 0.5918 MB / 452.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3216, allocations: 8.719 kB / 452.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005534/0.3222, allocations: 325.3 kB / 452.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003858/0.3226, allocations: 117.6 kB / 452.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.3229, allocations: 87.88 kB / 452.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.3254, allocations: 3.026 MB / 455.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3256, allocations: 20 kB / 455.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.3256, allocations: 23.94 kB / 455.8 MB, free: 11.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.3259, allocations: 213.9 kB / 456 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.3259, allocations: 31.62 kB / 456.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.3264, allocations: 320.6 kB / 456.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3265, allocations: 4 kB / 456.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.3265, allocations: 0 / 456.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3265, allocations: 4 kB / 456.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3275, allocations: 0.8043 MB / 457.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3275, allocations: 4 kB / 457.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.3278, allocations: 59.91 kB / 457.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3278, allocations: 0 / 457.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3278, allocations: 8 kB / 457.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3279, allocations: 4 kB / 457.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3279, allocations: 3.953 kB / 457.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.3285, allocations: 0.5132 MB / 457.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3286, allocations: 116.7 kB / 457.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.3286, allocations: 15.92 kB / 457.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.3288, allocations: 8 kB / 457.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.3288, allocations: 23.92 kB / 457.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3289, allocations: 8 kB / 457.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.3291, allocations: 223 kB / 458.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3291, allocations: 0 / 458.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.3295, allocations: 100 kB / 458.3 MB, free: 8.988 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.000128/0.3297, allocations: 103.2 kB / 458.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.3305, allocations: 0.572 MB / 458.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3305, allocations: 0 / 458.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3307, allocations: 127.8 kB / 459.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3312, allocations: 70.84 kB / 459.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3328, allocations: 1.285 MB / 460.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.3333, allocations: 0.874 MB / 461.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.3334, allocations: 27.44 kB / 461.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3334, allocations: 0 / 461.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of Templates: time 0.008759/0.3422, allocations: 6.465 MB / 467.8 MB, free: 15.37 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1